diff options
Diffstat (limited to 'client/libacron/apps/acronc/helpers.h')
-rw-r--r-- | client/libacron/apps/acronc/helpers.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/client/libacron/apps/acronc/helpers.h b/client/libacron/apps/acronc/helpers.h new file mode 100644 index 0000000..e983439 --- /dev/null +++ b/client/libacron/apps/acronc/helpers.h @@ -0,0 +1,24 @@ +/* + * Created by yuuta on 7/24/22. + */ + +#ifndef ACRONC_HELPERS_H +#define ACRONC_HELPERS_H + +#include <libac.h> + +#ifdef WIN32 +#include <winsock2.h> +#include <ws2tcpip.h> + +#else + +#include <sys/socket.h> + +#endif + +const char *ntop(const struct sockaddr *sa); + +const char *world_name(enum ac_world world); + +#endif /* ACRONC_HELPERS_H */ |