X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fchannel.h;h=d348184f8ccf9602268a49828270999779444af3;hb=500668529625290605ab7afe0d62cd507ee25a99;hp=3df0af3f9f777ffa920eb298b0919085e7a5916b;hpb=134ce814d444d90c229d0b1777d575bc1effa718;p=umurmur.git diff --git a/src/channel.h b/src/channel.h index 3df0af3..d348184 100644 --- a/src/channel.h +++ b/src/channel.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2013, Martin Johansson - Copyright (C) 2005-2013, Thorvald Natvig +/* Copyright (C) 2009-2014, Martin Johansson + Copyright (C) 2005-2014, Thorvald Natvig All rights reserved. @@ -41,14 +41,14 @@ typedef struct channel { char *desc; char *password; struct channel *parent; - bool_t temporary, noenter; + bool_t temporary, noenter, silent; + int position; struct dlist node; struct dlist subs; struct dlist clients; struct dlist flatlist_node; struct dlist channel_links; int linkcount; - struct dlist link_node; } channel_t; typedef struct { @@ -56,11 +56,11 @@ typedef struct { struct dlist node; } channellist_t; -typedef enum { - CHJOIN_OK, +typedef struct { + bool_t CHJOIN_SILENT, CHJOIN_NOENTER, CHJOIN_WRONGPW, - CHJOIN_NOTFOUND, + CHJOIN_NOTFOUND; } channelJoinResult_t; void Chan_init();