Lines Matching refs:num_settings
28 static void show_settings(int num_settings, cups_option_t *settings);
40 num_settings; /* Number of settings */ in main() local
58 for (i = 1, num_settings = 0, settings = NULL; i < argc; i ++) in main()
59 num_settings = cupsParseOptions(argv[i], num_settings, &settings); in main()
61 if (cupsAdminSetServerSettings(http, num_settings, settings)) in main()
64 cupsFreeOptions(num_settings, settings); in main()
79 if (cupsAdminGetServerSettings(http, &num_settings, &settings)) in main()
81 show_settings(num_settings, settings); in main()
82 cupsFreeOptions(num_settings, settings); in main()
99 int num_settings, /* I - Number of settings */ in show_settings() argument
102 while (num_settings > 0) in show_settings()
107 num_settings --; in show_settings()