projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add client indication of silent channels
[umurmur.git]
/
src
/
channel.h
diff --git
a/src/channel.h
b/src/channel.h
index c32ae5be41d18551ddc162e4f054cf226b2bcc37..9979721e86d399a6bae459580c647551677ce9c7 100644
(file)
--- a/
src/channel.h
+++ b/
src/channel.h
@@
-42,6
+42,7
@@
typedef struct channel {
char *password;
struct channel *parent;
bool_t temporary, noenter, silent;
char *password;
struct channel *parent;
bool_t temporary, noenter, silent;
+ int position;
struct dlist node;
struct dlist subs;
struct dlist clients;
struct dlist node;
struct dlist subs;
struct dlist clients;
@@
-56,11
+57,11
@@
typedef struct {
struct dlist node;
} channellist_t;
struct dlist node;
} channellist_t;
-typedef
enum
{
-
CHJOIN_OK
,
+typedef
struct
{
+
bool_t CHJOIN_SILENT
,
CHJOIN_NOENTER,
CHJOIN_WRONGPW,
CHJOIN_NOENTER,
CHJOIN_WRONGPW,
- CHJOIN_NOTFOUND
,
+ CHJOIN_NOTFOUND
;
} channelJoinResult_t;
void Chan_init();
} channelJoinResult_t;
void Chan_init();