ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/channel.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/channel.h (file contents):
Revision 1012 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 45 | Line 45 | struct Channel
45    dlink_node node;
46  
47    struct Channel *hnextch;
48
48    struct Mode mode;
49 +
50    char *topic;
51    char *topic_info;
52 +
53 +  time_t channelts;
54    time_t topic_time;
55    time_t last_knock; /*!< don't allow knock to flood */
56 +  time_t last_join_time;
57 +  time_t first_received_message_time; /*!< channel flood control */
58 +  unsigned int flags;
59 +  int received_number_of_privmsgs;
60  
61    dlink_list members;
62    dlink_list invites;
# Line 58 | Line 64 | struct Channel
64    dlink_list exceptlist;
65    dlink_list invexlist;
66  
61  time_t first_received_message_time; /*!< channel flood control */
62  int received_number_of_privmsgs;
63  int flags;
67    float number_joined;
65  time_t last_join_time;
68  
67  time_t channelts;
69    char chname[CHANNELLEN + 1];
70   };
71  
# Line 82 | Line 83 | struct Membership
83   struct Ban
84   {
85    dlink_node node;
85  size_t len;
86    char *name;
87    char *username;
88    char *host;
89    char *who;
90 +  size_t len;
91    time_t when;
92    struct irc_ssaddr addr;
93    int bits;
# Line 97 | Line 98 | extern dlink_list global_channel_list;
98  
99   extern int check_channel_name(const char *, int);
100   extern int can_send(struct Channel *, struct Client *, struct Membership *);
101 < extern int is_banned(struct Channel *, struct Client *);
101 > extern int is_banned(const struct Channel *, const struct Client *);
102   extern int can_join(struct Client *, struct Channel *, const char *);
103   extern int has_member_flags(struct Membership *, unsigned int);
104  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)