refactor: simplify file name
This commit is contained in:
13
include/utils/net.h
Normal file
13
include/utils/net.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef CWS_NET_H
|
||||
#define CWS_NET_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include "utils/error.h"
|
||||
|
||||
cws_server_ret cws_fd_set_nonblocking(int sockfd);
|
||||
|
||||
void cws_utils_get_client_ip(struct sockaddr_storage *sa, char *ip);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user