Lines Matching defs:args
214 static int show_status(sd_bus *bus, char **args, unsigned n) {
215 assert(args);
252 static int set_hostname(sd_bus *bus, char **args, unsigned n) {
254 char *hostname = args[1];
257 assert(args);
304 static int set_icon_name(sd_bus *bus, char **args, unsigned n) {
305 assert(args);
308 return set_simple_string(bus, "SetIconName", args[1]);
311 static int set_chassis(sd_bus *bus, char **args, unsigned n) {
312 assert(args);
315 return set_simple_string(bus, "SetChassis", args[1]);
318 static int set_deployment(sd_bus *bus, char **args, unsigned n) {
319 assert(args);
322 return set_simple_string(bus, "SetDeployment", args[1]);
325 static int set_location(sd_bus *bus, char **args, unsigned n) {
326 assert(args);
329 return set_simple_string(bus, "SetLocation", args[1]);
437 int (* const dispatch)(sd_bus *bus, char **args, unsigned n);