Lines Matching full:linenum
191 char *value, int linenum);
193 static int parse_groups(const char *s, int linenum);
195 static int parse_variable(const char *filename, int linenum,
201 static int read_location(cups_file_t *fp, char *name, int linenum);
202 static int read_policy(cups_file_t *fp, char *name, int linenum);
2058 int linenum) /* I - Current line number */ in parse_aaa() argument
2077 "context. Using \"required\" instead.", value, linenum, ConfigurationFile); in parse_aaa()
2088 … "Unknown Encryption value %s on line %d of %s.", value, linenum, ConfigurationFile); in parse_aaa()
2105 value, linenum, ConfigurationFile); in parse_aaa()
2208 value, linenum, ConfigurationFile); in parse_aaa()
2261 value, linenum, ConfigurationFile); in parse_aaa()
2279 value, linenum); in parse_aaa()
2288 value, linenum, ConfigurationFile); in parse_aaa()
2297 value, linenum, ConfigurationFile); in parse_aaa()
2308 value, linenum, ConfigurationFile); in parse_aaa()
2314 value, linenum, ConfigurationFile); in parse_aaa()
2325 value, value, linenum, ConfigurationFile); in parse_aaa()
2352 value, linenum, ConfigurationFile); in parse_aaa()
2415 value, linenum, ConfigurationFile); in parse_aaa()
2512 int linenum) /* I - Line number in cups-files.conf */ in parse_groups() argument
2569 if (linenum) in parse_groups()
2570 …CUPSD_LOG_ERROR, "Unknown SystemGroup \"%s\" on line %d of %s.", valstart, linenum, CupsFilesFile); in parse_groups()
2660 int linenum, /* I - Line in configuration file */ in parse_variable() argument
2683 line, linenum, filename); in parse_variable()
2686 line, linenum, filename); in parse_variable()
2698 line, linenum, filename); in parse_variable()
2705 line, linenum, filename); in parse_variable()
2729 line, linenum, filename); in parse_variable()
2738 "%s.", line, linenum, filename); in parse_variable()
2753 line, linenum, filename); in parse_variable()
2761 line, linenum, filename); in parse_variable()
2773 "%s.", line, linenum, filename); in parse_variable()
2788 "%s.", line, linenum, filename); in parse_variable()
2810 "%s.", line, linenum, filename); in parse_variable()
2834 "%d of %s.", line, linenum, filename); in parse_variable()
2843 line, linenum, filename); in parse_variable()
2858 line, linenum, filename); in parse_variable()
2881 value, linenum, filename); in parse_variable()
2891 line, linenum, filename); in parse_variable()
2904 "does not exist.", line, value, linenum, filename); in parse_variable()
2927 int linenum; /* Current line number */ in read_cupsd_conf() local
2942 linenum = 0; in read_cupsd_conf()
2944 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) in read_cupsd_conf()
2956 linenum = read_location(fp, value, linenum); in read_cupsd_conf()
2957 if (linenum == 0) in read_cupsd_conf()
2966 linenum = read_policy(fp, value, linenum); in read_cupsd_conf()
2967 if (linenum == 0) in read_cupsd_conf()
2975 "JobRetryInterval on line %d of %s.", linenum, ConfigurationFile); in read_cupsd_conf()
2982 "JobRetryLimit on line %d of %s.", linenum, ConfigurationFile); in read_cupsd_conf()
3046 cupsdLogMessage(CUPSD_LOG_WARN, "Unknown SSL option %s at line %d.", start, linenum); in read_cupsd_conf()
3075 value, linenum); in read_cupsd_conf()
3121 line, linenum, strerror(errno)); in read_cupsd_conf()
3129 line, linenum, strerror(errno)); in read_cupsd_conf()
3182 value, linenum, ConfigurationFile); in read_cupsd_conf()
3206 value, linenum, ConfigurationFile); in read_cupsd_conf()
3228 value, linenum, ConfigurationFile); in read_cupsd_conf()
3250 value, linenum, ConfigurationFile); in read_cupsd_conf()
3268 value, linenum, ConfigurationFile); in read_cupsd_conf()
3298 value, linenum, ConfigurationFile); in read_cupsd_conf()
3312 value, linenum, ConfigurationFile); in read_cupsd_conf()
3344 value, linenum, ConfigurationFile); in read_cupsd_conf()
3408 line, value ? " " : "", value ? value : "", linenum, in read_cupsd_conf()
3412 parse_variable(ConfigurationFile, linenum, line, value, in read_cupsd_conf()
3428 linenum; /* Current line number */ in read_cups_files_conf() local
3476 linenum = 0; in read_cups_files_conf()
3478 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) in read_cups_files_conf()
3501 linenum, CupsFilesFile); in read_cups_files_conf()
3531 …onment variable \"%s\" cannot be passed through on line %d of %s.", value, linenum, CupsFilesFile); in read_cups_files_conf()
3564 value, linenum, CupsFilesFile); in read_cups_files_conf()
3585 value, linenum, CupsFilesFile); in read_cups_files_conf()
3613 …OR, "Environment variable \"%s\" cannot be set on line %d of %s.", value, linenum, CupsFilesFile); in read_cups_files_conf()
3628 linenum, ConfigurationFile); in read_cups_files_conf()
3636 if (!parse_groups(value, linenum)) in read_cups_files_conf()
3658 linenum, CupsFilesFile); in read_cups_files_conf()
3680 value, linenum, CupsFilesFile); in read_cups_files_conf()
3691 value, linenum, CupsFilesFile); in read_cups_files_conf()
3704 line, linenum, CupsFilesFile); in read_cups_files_conf()
3706 else if (!parse_variable(CupsFilesFile, linenum, line, value, in read_cups_files_conf()
3724 int linenum) /* I - Current line number */ in read_location() argument
3736 location, linenum, ConfigurationFile); in read_location()
3748 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) in read_location()
3755 return (linenum); in read_location()
3761 … cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d of %s.", linenum, ConfigurationFile); in read_location()
3797 value, linenum, ConfigurationFile); in read_location()
3812 … cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value on line %d of %s.", linenum, ConfigurationFile); in read_location()
3816 else if (!parse_aaa(loc, line, value, linenum)) in read_location()
3820 line, linenum, ConfigurationFile); in read_location()
3828 linenum); in read_location()
3830 return ((FatalErrors & CUPSD_FATAL_CONFIG) ? 0 : linenum); in read_location()
3841 int linenum) /* I - Current line number */ in read_policy() argument
3860 policy, linenum, ConfigurationFile); in read_policy()
3871 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) in read_policy()
3882 linenum, ConfigurationFile); in read_policy()
3886 return (linenum); in read_policy()
3892 … cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d of %s.", linenum, ConfigurationFile); in read_policy()
3917 …PSD_LOG_ERROR, "Bad IPP operation name \"%s\" on line %d of %s.", value, linenum, ConfigurationFil… in read_policy()
3924 linenum, ConfigurationFile); in read_policy()
3965 … cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value on line %d of %s.", linenum, ConfigurationFile); in read_policy()
3978 "on line %d of %s.", line, linenum, ConfigurationFile); in read_policy()
4077 line, linenum, ConfigurationFile); in read_policy()
4081 else if (!parse_aaa(op, line, value, linenum)) in read_policy()
4085 line, linenum, ConfigurationFile); in read_policy()
4094 "\"%s\".", linenum, policy); in read_policy()
4096 return ((FatalErrors & CUPSD_FATAL_CONFIG) ? 0 : linenum); in read_policy()