aboutsummaryrefslogtreecommitdiff
path: root/peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'peer.h')
-rw-r--r--peer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/peer.h b/peer.h
new file mode 100644
index 0000000..045578a
--- /dev/null
+++ b/peer.h
@@ -0,0 +1,13 @@
+/**
+ * Localchat
+ * Ben Burwell
+ *
+ * Peer structure
+ */
+
+struct peer {
+ char username[32];
+ char ip[16];
+ char in_chat[2];
+ time_t last_seen;
+}; \ No newline at end of file