mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
param: rename lp function and variable from "max_reported_jobs" to "max_reported_print_jobs"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
db52b908c7
commit
cf6f358563
@ -136,7 +136,7 @@ FN_LOCAL_BOOL(acl_allow_execute_always, acl_allow_execute_always)
|
||||
FN_LOCAL_INTEGER(default_case, default_case)
|
||||
FN_LOCAL_INTEGER(minprintspace, minprintspace)
|
||||
FN_LOCAL_INTEGER(printing, printing)
|
||||
FN_LOCAL_INTEGER(max_reported_jobs, max_reported_jobs)
|
||||
FN_LOCAL_INTEGER(max_reported_print_jobs, max_reported_print_jobs)
|
||||
FN_LOCAL_INTEGER(oplock_contention_limit, oplock_contention_limit)
|
||||
FN_LOCAL_INTEGER(write_cache_size, write_cache_size)
|
||||
FN_LOCAL_INTEGER(block_size, block_size)
|
||||
|
@ -2022,7 +2022,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "max reported print jobs",
|
||||
.type = P_INTEGER,
|
||||
.p_class = P_LOCAL,
|
||||
.offset = LOCAL_VAR(max_reported_jobs),
|
||||
.offset = LOCAL_VAR(max_reported_print_jobs),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED | FLAG_PRINT,
|
||||
|
@ -188,7 +188,7 @@ static struct loadparm_service sDefault =
|
||||
.dfree_command = NULL,
|
||||
.minprintspace = 0,
|
||||
.iMaxPrintJobs = 1000,
|
||||
.max_reported_jobs = 0,
|
||||
.max_reported_print_jobs = 0,
|
||||
.write_cache_size = 0,
|
||||
.create_mask = 0744,
|
||||
.force_create_mode = 0,
|
||||
|
@ -1203,7 +1203,7 @@ static int printjob_comp(print_queue_struct *j1, print_queue_struct *j2)
|
||||
static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct *pts)
|
||||
{
|
||||
TDB_DATA data;
|
||||
int max_reported_jobs = lp_max_reported_jobs(pts->snum);
|
||||
int max_reported_jobs = lp_max_reported_print_jobs(pts->snum);
|
||||
print_queue_struct *queue = pts->queue;
|
||||
size_t len;
|
||||
size_t i;
|
||||
@ -3036,7 +3036,7 @@ static bool get_stored_queue_info(struct messaging_context *msg_ctx,
|
||||
int total_count = 0;
|
||||
size_t len = 0;
|
||||
uint32 i;
|
||||
int max_reported_jobs = lp_max_reported_jobs(snum);
|
||||
int max_reported_jobs = lp_max_reported_print_jobs(snum);
|
||||
bool ret = false;
|
||||
const char* sharename = lp_servicename(talloc_tos(), snum);
|
||||
TALLOC_CTX *tmp_ctx = talloc_new(msg_ctx);
|
||||
|
Reference in New Issue
Block a user