Lines Matching refs:args
164 static int show_status(sd_bus *bus, char **args, unsigned n) {
193 static int set_time(sd_bus *bus, char **args, unsigned n) {
199 assert(args);
204 r = parse_timestamp(args[1], &t);
206 log_error("Failed to parse time specification: %s", args[1]);
224 static int set_timezone(sd_bus *bus, char **args, unsigned n) {
228 assert(args);
240 "sb", args[1], arg_ask_password);
247 static int set_local_rtc(sd_bus *bus, char **args, unsigned n) {
251 assert(args);
256 b = parse_boolean(args[1]);
258 log_error("Failed to parse local RTC setting: %s", args[1]);
276 static int set_ntp(sd_bus *bus, char **args, unsigned n) {
280 assert(args);
285 b = parse_boolean(args[1]);
287 log_error("Failed to parse NTP setting: %s", args[1]);
305 static int list_timezones(sd_bus *bus, char **args, unsigned n) {
309 assert(args);
420 int (* const dispatch)(sd_bus *bus, char **args, unsigned n);