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/trunk/include/channel.h (file contents):
Revision 4170 by michael, Sat Jul 5 15:32:59 2014 UTC vs.
Revision 4404 by michael, Wed Aug 6 17:02:18 2014 UTC

# Line 52 | Line 52 | struct Client;
52   /*! \brief Mode structure for channels */
53   struct Mode
54   {
55 <  unsigned int mode;   /*!< simple modes */
56 <  unsigned int limit;  /*!< +l userlimit */
57 <  char key[KEYLEN + 1];    /*!< +k key */
55 >  unsigned int mode;   /**< simple modes */
56 >  unsigned int limit;  /**< +l userlimit */
57 >  char key[KEYLEN + 1];    /**< +k key */
58   };
59  
60   /*! \brief Channel structure */
# Line 70 | Line 70 | struct Channel
70  
71    time_t channelts;
72    time_t topic_time;
73 <  time_t last_knock; /*!< don't allow knock to flood */
73 >  time_t last_knock;  /**< Don't allow knock to flood */
74    time_t last_join_time;
75    time_t first_received_message_time; /*!< channel flood control */
76    unsigned int flags;
# Line 91 | Line 91 | struct Channel
91   /*! \brief Membership structure */
92   struct Membership
93   {
94 <  dlink_node locchannode;  /*!< link to chptr->locmembers */
95 <  dlink_node channode;     /*!< link to chptr->members    */
96 <  dlink_node usernode;     /*!< link to source_p->channel */
97 <  struct Channel *chptr;   /*!< Channel pointer */
98 <  struct Client *client_p; /*!< Client pointer */
99 <  unsigned int flags;      /*!< user/channel flags, e.g. CHFL_CHANOP */
94 >  dlink_node locchannode;  /**< link to chptr->locmembers */
95 >  dlink_node channode;     /**< link to chptr->members    */
96 >  dlink_node usernode;     /**< link to source_p->channel */
97 >  struct Channel *chptr;   /**< Channel pointer */
98 >  struct Client *client_p; /**< Client pointer */
99 >  unsigned int flags;      /**< user/channel flags, e.g. CHFL_CHANOP */
100   };
101  
102 < /*! \brief Ban structure.  Used for b/e/I n!u\@h masks */
102 > /*! \brief Ban structure. Used for b/e/I n!u\@h masks */
103   struct Ban
104   {
105    dlink_node node;
# Line 128 | Line 128 | extern void channel_do_join_0(struct Cli
128   extern void channel_do_part(struct Client *, char *, char *);
129   extern void remove_ban(struct Ban *, dlink_list *);
130   extern void channel_init(void);
131 < extern void add_user_to_channel(struct Channel *, struct Client *,
132 <                                unsigned int, int);
131 > extern void add_user_to_channel(struct Channel *, struct Client *, unsigned int, int);
132   extern void remove_user_from_channel(struct Membership *);
133   extern void channel_member_names(struct Client *, struct Channel *, int);
134   extern void add_invite(struct Channel *, struct Client *);
# Line 146 | Line 145 | extern const char *get_member_status(con
145  
146   extern struct Channel *make_channel(const char *);
147   extern struct Membership *find_channel_link(struct Client *, struct Channel *);
148 < #endif  /* INCLUDED_channel_h */
148 > #endif

Diff Legend

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