summaryrefslogtreecommitdiffstats
path: root/jacs/roster.h
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-02-05 09:47:10 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-02-05 09:47:10 +0100
commitc912d0844a01f67ae1c95c8725526ca8b6751a89 (patch)
tree6d4b60260bde837a1bcff6f2ff4347a1c5e83248 /jacs/roster.h
parent295b95085f3d7cf7d405771e81bb33902838286e (diff)
downloadjacc-c912d0844a01f67ae1c95c8725526ca8b6751a89.tar.gz
Explode tar.HEADmaster
Diffstat (limited to 'jacs/roster.h')
-rw-r--r--jacs/roster.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/jacs/roster.h b/jacs/roster.h
new file mode 100644
index 0000000..75d49b5
--- /dev/null
+++ b/jacs/roster.h
@@ -0,0 +1,33 @@
+#ifndef ROSTER_H
+#define ROSTER_H
+
+typedef struct ilist ilist;
+struct ilist {
+ char *name;
+ char *val;
+ ilist *p;
+ ilist *n;
+};
+
+typedef struct jabberc jabberc;
+struct jabberc {
+ char *stat;
+ char *show;
+ char *name;
+ char *reso;
+ char *serv;
+ char *jid;
+ char *dest;
+ ilist *list;
+ int debug;
+ int unreg;
+};
+
+void freeilist(ilist *i);
+void freejabberc(jabberc *j);
+jabberc *mkjabberc(void);
+ilist *lastilist(ilist *i);
+ilist *mkilist(char *name, char *val);
+ilist *addilist(ilist *i, char *name, char *val);
+
+#endif