Files
2026-08-24 10:03:24 +08:00

21 lines
347 B
C

#ifndef _DATASERVER_SOCKETSERVER_H_
#define _DATASERVER_SOCKETSERVER_H_
#ifdef __cplusplus
extern "C" {
#endif
int socket_server_start_unix(const char *socket_path);
int socket_server_stop_unix(void);
#ifdef DS_SUPPORT_IP
int socket_server_start_ip(int socket_port);
int socket_server_stop_ip(void);
#endif
#ifdef __cplusplus
}
#endif
#endif