added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / include / gline.h
index a2acdd245e52477c1ff5924a2720807622cc56c5..f79b801e3cdfee06c11a603d7e7a3a35b650e26a 100644 (file)
@@ -50,13 +50,13 @@ struct Gline {
   struct Gline *gl_next;       /**< Next G-line in linked list. */
   struct Gline**gl_prev_p;     /**< Previous pointer to this G-line. */
   char        *gl_user;        /**< Username mask (or channel/realname mask). */
-  char        *gl_host;        /**< Host prtion of mask. */
+  char        *gl_host;        /**< Host portion of mask. */
   char        *gl_reason;      /**< Reason for G-line. */
   time_t       gl_expire;      /**< Expiration timestamp. */
   time_t       gl_lastmod;     /**< Last modification timestamp. */
   time_t       gl_lifetime;    /**< Record expiration timestamp. */
   struct irc_in_addr gl_addr;  /**< IP address (for IP-based G-lines). */
-  unsigned char gl_bits;       /**< Usable bits in gl_addr. */
+  unsigned char gl_bits;       /**< Bits in gl_addr used in the mask. */
   unsigned int gl_flags;       /**< G-line status flags. */
   enum GlineLocalState gl_state;/**< G-line local state. */
 };
@@ -119,8 +119,6 @@ enum GlineAction {
 /** Return last modification time of a G-line. */
 #define GlineLastMod(g)                ((g)->gl_lastmod)
 
-extern int gline_propagate(struct Client *cptr, struct Client *sptr,
-                          struct Gline *gline);
 extern int gline_add(struct Client *cptr, struct Client *sptr, char *userhost,
                     char *reason, time_t expire, time_t lastmod,
                     time_t lifetime, unsigned int flags);