diff options
Diffstat (limited to 'src/rpc.c')
-rw-r--r-- | src/rpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,7 +32,7 @@ _Static_assert( sizeof(rpcPipe) == ( sizeof(int) * 2 ), "Structsize mismatch" ); static void handleClient( int fd, struct ucred *user ); -int rpcOpen( void ) +int rpc_open( void ) { int fd = socket( AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0 ); if ( fd == -1 ) { @@ -67,7 +67,7 @@ int rpcOpen( void ) return fd; } -void rpcWait( int listenFd, int seconds ) +void rpc_wait( int listenFd, int seconds ) { struct pollfd pd[2] = { { .fd = listenFd, .events = POLLIN | POLLHUP | POLLRDHUP }, @@ -78,7 +78,7 @@ void rpcWait( int listenFd, int seconds ) } } -void rpcHandle( int listenFd ) +void rpc_handle( int listenFd ) { int fd; while ( ( fd = accept( listenFd, NULL, NULL ) ) != -1 ) { |