This commit is contained in:
1 parent
f5507f15a2
commit
36b6a17924
1 file changed
+8
@@ -1,6 +1,10 @@
|
|||||||
#ifndef CGE_NET_H
|
#ifndef CGE_NET_H
|
||||||
#define CGE_NET_H
|
#define CGE_NET_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
@@ -99,4 +103,8 @@ int CgeNetPollAdd(CgeNetPoll *poll, CgeNetSocket *socket,
|
|||||||
int CgeNetPollRemove(CgeNetPoll *poll, CgeNetSocket *socket);
|
int CgeNetPollRemove(CgeNetPoll *poll, CgeNetSocket *socket);
|
||||||
int CgeNetPollWait(CgeNetPoll *poll, int timeout);
|
int CgeNetPollWait(CgeNetPoll *poll, int timeout);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* CGE_NET_H */
|
#endif /* CGE_NET_H */
|
||||||
Reference in new issue
Block a user