aboutsummaryrefslogtreecommitdiff
path: root/peer.h
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2013-04-29 16:13:34 -0400
committerBen Burwell <bburwell1@gmail.com>2013-04-29 16:13:34 -0400
commitca9e46c937e75df43d2f80f0d957fabb07892c29 (patch)
tree0d8ae2bc1d1e3e248c746586a5daf7cb58a79463 /peer.h
Init
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