diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:07 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:14 -0800 |
commit | cf6f3585634b2ad65917056eb739ed59e506e823 (patch) | |
tree | ea6419b977268c8abf674515401cd106cf20a44c | |
parent | db52b908c7aed5ae8cd2463010a3e2940c6ee4e9 (diff) | |
download | samba-cf6f3585634b2ad65917056eb739ed59e506e823.tar.gz |
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>
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/printing/printing.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index a68dcff2fc1..b59a4ae20a1 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -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) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 9c3b015fd7b..4c2caee3430 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2c66770d806..6833718fdd2 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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, diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 48eb450d797..5ee711dd26f 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -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); |