Files

21 lines
347 B
C
Raw Permalink Normal View History

2026-08-13 11:28:40 +08:00
#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