Lines Matching refs:socket_path
141 static int call_daemon(const char *socket_path, int op, char *buf,
165 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path));
228 static void server_loop(const char *socket_path, const char *pidfile_path,
266 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0);
298 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path));
300 (void) unlink(socket_path);
307 socket_path, strerror(errno));
315 "socket %s: %s\n"), socket_path,
320 cleanup_socket = socket_path;
440 const char *socket_path = UUIDD_SOCKET_PATH;
483 socket_path = optarg;
525 ret = call_daemon(socket_path, do_type+2, buf,
552 ret = call_daemon(socket_path, do_type, (char *) &uu,
572 ret = call_daemon(socket_path, 0, buf, sizeof(buf), 0, 0);
590 server_loop(socket_path, pidfile_path, debug, timeout, quiet);