Lines Matching refs:socket_path
143 static int call_daemon(const char *socket_path, int op, char *buf, in call_daemon() argument
167 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path)); in call_daemon()
230 static void server_loop(const char *socket_path, const char *pidfile_path, in server_loop() argument
268 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0); in server_loop()
300 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path)); in server_loop()
302 (void) unlink(socket_path); in server_loop()
309 socket_path, strerror(errno)); in server_loop()
317 "socket %s: %s\n"), socket_path, in server_loop()
322 cleanup_socket = socket_path; in server_loop()
445 const char *socket_path = UUIDD_SOCKET_PATH; in main() local
489 socket_path = optarg; in main()
531 ret = call_daemon(socket_path, do_type+2, buf, in main()
560 ret = call_daemon(socket_path, do_type, (char *) &uu, in main()
580 ret = call_daemon(socket_path, 0, buf, sizeof(buf), 0, 0); in main()
598 server_loop(socket_path, pidfile_path, debug, timeout, quiet); in main()