aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'net.h')
-rw-r--r--net.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net.h b/net.h
new file mode 100644
index 0000000..0cd06bc
--- /dev/null
+++ b/net.h
@@ -0,0 +1,11 @@
+/*
+ * Adopted from mcrcon, Copyright (c) 2012-2020, Tiiffi <tiiffi at gmail>.
+ * https://github.com/Tiiffi/mcrcon/tree/b02201d689b3032bc681b28f175fd3d83d167293
+ */
+
+#ifndef _NET_H
+#define _NET_H
+
+int net_connect(const char *host, const char *port, int *out);
+
+#endif // _NET_H