X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fchannel.h;h=44a1b5fed519b9e2b21ad8a9321cd693d15ee471;hb=5ee3db88fdd2cbe29b490a53e7e55f2a56e9cf65;hp=b533c45bbda4b00942ae80a49fb334bcfdba7400;hpb=4c431fe65269e9b1d452855b9df8cfe80683b691;p=umurmur.git diff --git a/src/channel.h b/src/channel.h index b533c45..44a1b5f 100644 --- a/src/channel.h +++ b/src/channel.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2012, Martin Johansson - Copyright (C) 2005-2012, Thorvald Natvig +/* Copyright (C) 2009-2014, Martin Johansson + Copyright (C) 2005-2014, Thorvald Natvig All rights reserved. @@ -41,7 +41,8 @@ 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; @@ -56,11 +57,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();