Lines Matching refs:argv
62 static int cmd_mdns_query_a(int argc, char** argv) in cmd_mdns_query_a() argument
64 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_a_args); in cmd_mdns_query_a()
66 arg_print_errors(stderr, mdns_query_a_args.end, argv[0]); in cmd_mdns_query_a()
120 static int cmd_mdns_query_aaaa(int argc, char** argv) in cmd_mdns_query_aaaa() argument
122 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_a_args); in cmd_mdns_query_aaaa()
124 arg_print_errors(stderr, mdns_query_a_args.end, argv[0]); in cmd_mdns_query_aaaa()
186 static int cmd_mdns_query_srv(int argc, char** argv) in cmd_mdns_query_srv() argument
188 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_srv_args); in cmd_mdns_query_srv()
190 arg_print_errors(stderr, mdns_query_srv_args.end, argv[0]); in cmd_mdns_query_srv()
247 static int cmd_mdns_query_txt(int argc, char** argv) in cmd_mdns_query_txt() argument
249 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_txt_args); in cmd_mdns_query_txt()
251 arg_print_errors(stderr, mdns_query_txt_args.end, argv[0]); in cmd_mdns_query_txt()
309 static int cmd_mdns_query_ptr(int argc, char** argv) in cmd_mdns_query_ptr() argument
311 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_ptr_args); in cmd_mdns_query_ptr()
313 arg_print_errors(stderr, mdns_query_ptr_args.end, argv[0]); in cmd_mdns_query_ptr()
374 static int cmd_mdns_query_ip(int argc, char** argv) in cmd_mdns_query_ip() argument
376 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_ip_args); in cmd_mdns_query_ip()
378 arg_print_errors(stderr, mdns_query_ip_args.end, argv[0]); in cmd_mdns_query_ip()
444 static int cmd_mdns_query_svc(int argc, char** argv) in cmd_mdns_query_svc() argument
446 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_svc_args); in cmd_mdns_query_svc()
448 arg_print_errors(stderr, mdns_query_svc_args.end, argv[0]); in cmd_mdns_query_svc()
510 static int cmd_mdns_init(int argc, char** argv) in cmd_mdns_init() argument
512 int nerrors = arg_parse(argc, argv, (void**) &mdns_init_args); in cmd_mdns_init()
514 arg_print_errors(stderr, mdns_init_args.end, argv[0]); in cmd_mdns_init()
550 static int cmd_mdns_free(int argc, char** argv) in cmd_mdns_free() argument
574 static int cmd_mdns_set_hostname(int argc, char** argv) in cmd_mdns_set_hostname() argument
576 int nerrors = arg_parse(argc, argv, (void**) &mdns_set_hostname_args); in cmd_mdns_set_hostname()
578 arg_print_errors(stderr, mdns_set_hostname_args.end, argv[0]); in cmd_mdns_set_hostname()
612 static int cmd_mdns_set_instance(int argc, char** argv) in cmd_mdns_set_instance() argument
614 int nerrors = arg_parse(argc, argv, (void**) &mdns_set_instance_args); in cmd_mdns_set_instance()
616 arg_print_errors(stderr, mdns_set_instance_args.end, argv[0]); in cmd_mdns_set_instance()
706 static int cmd_mdns_service_add(int argc, char** argv) in cmd_mdns_service_add() argument
708 int nerrors = arg_parse(argc, argv, (void**) &mdns_add_args); in cmd_mdns_service_add()
710 arg_print_errors(stderr, mdns_add_args.end, argv[0]); in cmd_mdns_service_add()
764 static int cmd_mdns_service_remove(int argc, char** argv) in cmd_mdns_service_remove() argument
766 int nerrors = arg_parse(argc, argv, (void**) &mdns_remove_args); in cmd_mdns_service_remove()
768 arg_print_errors(stderr, mdns_remove_args.end, argv[0]); in cmd_mdns_service_remove()
805 static int cmd_mdns_service_instance_set(int argc, char** argv) in cmd_mdns_service_instance_set() argument
807 int nerrors = arg_parse(argc, argv, (void**) &mdns_service_instance_set_args); in cmd_mdns_service_instance_set()
809 arg_print_errors(stderr, mdns_service_instance_set_args.end, argv[0]); in cmd_mdns_service_instance_set()
847 static int cmd_mdns_service_port_set(int argc, char** argv) { in cmd_mdns_service_port_set() argument
848 int nerrors = arg_parse(argc, argv, (void**) &mdns_service_port_set_args); in cmd_mdns_service_port_set()
850 arg_print_errors(stderr, mdns_service_port_set_args.end, argv[0]); in cmd_mdns_service_port_set()
888 static int cmd_mdns_service_txt_replace(int argc, char** argv) in cmd_mdns_service_txt_replace() argument
891 int nerrors = arg_parse(argc, argv, (void**) &mdns_txt_replace_args); in cmd_mdns_service_txt_replace()
893 arg_print_errors(stderr, mdns_txt_replace_args.end, argv[0]); in cmd_mdns_service_txt_replace()
941 static int cmd_mdns_service_txt_set(int argc, char** argv) in cmd_mdns_service_txt_set() argument
943 int nerrors = arg_parse(argc, argv, (void**) &mdns_txt_set_args); in cmd_mdns_service_txt_set()
945 arg_print_errors(stderr, mdns_txt_set_args.end, argv[0]); in cmd_mdns_service_txt_set()
984 static int cmd_mdns_service_txt_remove(int argc, char** argv) in cmd_mdns_service_txt_remove() argument
986 int nerrors = arg_parse(argc, argv, (void**) &mdns_txt_remove_args); in cmd_mdns_service_txt_remove()
988 arg_print_errors(stderr, mdns_txt_remove_args.end, argv[0]); in cmd_mdns_service_txt_remove()
1019 static int cmd_mdns_service_remove_all(int argc, char** argv) in cmd_mdns_service_remove_all() argument