FN_LOCAL_BOOL(acl_allow_execute_always, acl_allow_execute_always)
FN_LOCAL_INTEGER(defaultcase, defaultcase)
FN_LOCAL_INTEGER(minprintspace, minprintspace)
-FN_LOCAL_INTEGER(printing, iPrinting)
+FN_LOCAL_INTEGER(printing, printing)
FN_LOCAL_INTEGER(max_reported_jobs, iMaxReportedPrintJobs)
FN_LOCAL_INTEGER(oplock_contention_limit, iOplockContentionLimit)
FN_LOCAL_INTEGER(write_cache_size, iWriteCacheSize)
.label = "printing",
.type = P_ENUM,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(iPrinting),
+ .offset = LOCAL_VAR(printing),
.special = handle_printing,
.enum_list = enum_printing,
.flags = FLAG_ADVANCED | FLAG_PRINT | FLAG_GLOBAL,
.force_dir_mode = 0,
.max_connections = 0,
.defaultcase = CASE_LOWER,
- .iPrinting = DEFAULT_PRINTING,
+ .printing = DEFAULT_PRINTING,
.iOplockContentionLimit = 2,
.csc_policy = 0,
.iBlock_size = 1024,
static void init_printer_values(struct loadparm_service *pService)
{
/* choose defaults depending on the type of printing */
- switch (pService->iPrinting) {
+ switch (pService->printing) {
case PRINT_BSD:
case PRINT_AIX:
case PRINT_LPRNT:
(Globals.szPrintcapname[0] != '\0'))
return Globals.szPrintcapname;
- if (sDefault.iPrinting == PRINT_CUPS) {
+ if (sDefault.printing == PRINT_CUPS) {
return "cups";
}
- if (sDefault.iPrinting == PRINT_BSD)
+ if (sDefault.printing == PRINT_BSD)
return "/etc/printcap";
return PRINTCAP_NAME;