aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2021-05-16 19:23:13 -0700
committerTrumeet <yuuta@yuuta.moe>2021-05-16 19:23:13 -0700
commit7e531d78bf330bfac65cf3f208c2300b607decee (patch)
treea430b80d94661b31c7982724bf4f24667ca297b9 /net.h
downloadextmc-7e531d78bf330bfac65cf3f208c2300b607decee.tar
extmc-7e531d78bf330bfac65cf3f208c2300b607decee.tar.gz
extmc-7e531d78bf330bfac65cf3f208c2300b607decee.tar.bz2
extmc-7e531d78bf330bfac65cf3f208c2300b607decee.zip
First Commit
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