*
* $Id$
*/
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h>
#define INCLUDED_sys_types_h
#define GLINE_LDEACT 0x0080 /* locally deactivated */
#define GLINE_GLOBAL 0x0100 /* find only global glines */
#define GLINE_LASTMOD 0x0200 /* find only glines with non-zero lastmod */
+#define GLINE_OPERFORCE 0x0400 /* oper forcing gline to be set */
#define GLINE_MASK (GLINE_ACTIVE | GLINE_BADCHAN | GLINE_LOCAL)
#define GLINE_ACTMASK (GLINE_ACTIVE | GLINE_LDEACT)
#define GlineReason(g) ((g)->gl_reason)
#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,
unsigned int flags);