Author: Entrope <mdpoole@troilus.org>
[ircu2.10.12-pk.git] / include / gline.h
index a2acdd245e52477c1ff5924a2720807622cc56c5..e5623f4f3fca2ee44477f87180e6af5d2dc3429e 100644 (file)
@@ -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);
@@ -130,6 +128,9 @@ extern int gline_activate(struct Client *cptr, struct Client *sptr,
 extern int gline_deactivate(struct Client *cptr, struct Client *sptr,
                            struct Gline *gline, time_t lastmod,
                            unsigned int flags);
+extern int gline_forward_deactivation(struct Client *cptr, struct Client *sptr,
+                                      char *userhost, time_t expire, time_t lastmod,
+                                      time_t lifetime, unsigned int flags);
 extern int gline_modify(struct Client *cptr, struct Client *sptr,
                        struct Gline *gline, enum GlineAction action,
                        char *reason, time_t expire, time_t lastmod,