aboutsummaryrefslogtreecommitdiffstats
path: root/src/xlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlib.h')
-rw-r--r--src/xlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xlib.h b/src/xlib.h
new file mode 100644
index 0000000..a66a6bd
--- /dev/null
+++ b/src/xlib.h
@@ -0,0 +1,9 @@
+#ifndef XLIB_H
+#define XLIB_H
+
+void *xmalloc(size_t size);
+void *xrealloc(void *ptr, size_t size);
+char *xstrdup(const char *str);
+
+int init_sockaddr(struct sockaddr_in *addr, const char *host);
+#endif