X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fchannel.h;h=9979721e86d399a6bae459580c647551677ce9c7;hb=cac4b71f9ea600608b421127df1f80407182e405;hp=3df0af3f9f777ffa920eb298b0919085e7a5916b;hpb=134ce814d444d90c229d0b1777d575bc1effa718;p=umurmur.git diff --git a/src/channel.h b/src/channel.h index 3df0af3..9979721 100644 --- a/src/channel.h +++ b/src/channel.h @@ -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();