Lines Matching full:settings
28 static void show_settings(int num_settings, cups_option_t *settings);
40 num_settings; /* Number of settings */ in main()
41 cups_option_t *settings; /* 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()
63 puts("New server settings:"); in main()
64 cupsFreeOptions(num_settings, settings); in main()
68 printf("Server settings not changed: %s\n", cupsLastErrorString()); in main()
73 puts("Current server 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()
94 * 'show_settings()' - Show settings in the array...
99 int num_settings, /* I - Number of settings */ in show_settings()
100 cups_option_t *settings) /* I - Settings */ in show_settings() argument
104 printf(" %s=%s\n", settings->name, settings->value); in show_settings()
106 settings ++; in show_settings()