summaryrefslogtreecommitdiff
path: root/src/core/nick-rec.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-06 01:07:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-06 01:07:21 +0000
commita99e93ef5d8dd4002580532ee25316c3860c1e4a (patch)
tree4be2a82c3f853c821ffe7f157acba7e03eec7de1 /src/core/nick-rec.h
parent809fa17d824c6cf297e6c462fe0b5f904c076d4a (diff)
downloadirssi-a99e93ef5d8dd4002580532ee25316c3860c1e4a.zip
NICK_REC can be now inherited
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@971 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nick-rec.h')
-rw-r--r--src/core/nick-rec.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/nick-rec.h b/src/core/nick-rec.h
new file mode 100644
index 00000000..e9817e0c
--- /dev/null
+++ b/src/core/nick-rec.h
@@ -0,0 +1,23 @@
+/* NICK_REC definition, used for inheritance */
+
+int type; /* module_get_uniq_id("NICK", 0) */
+int chat_type; /* chat_protocol_lookup(xx) */
+
+time_t last_check; /* last time gone was checked */
+
+char *nick;
+char *host;
+char *realname;
+int hops;
+
+/* status in server */
+unsigned int gone:1;
+unsigned int serverop:1;
+
+/* status in channel */
+unsigned int send_massjoin:1; /* Waiting to be sent in massjoin signal */
+unsigned int op:1;
+unsigned int halfop:1;
+unsigned int voice:1;
+
+GHashTable *module_data;