X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2Fglobals.h;h=86b9c154d7638da1ddda6b8d9c8cd5c724a1896a;hb=f07179ca615bd9583190e3a7770372db1547a3ba;hp=955ce6467a9ed98ab03784838b846d91b7dc569e;hpb=539a7dbf343fcaedea9e4b83f3ed5357a94f1a82;p=openldap diff --git a/servers/slurpd/globals.h b/servers/slurpd/globals.h index 955ce6467a..86b9c154d7 100644 --- a/servers/slurpd/globals.h +++ b/servers/slurpd/globals.h @@ -1,3 +1,8 @@ +/* $OpenLDAP$ */ +/* + * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. @@ -24,6 +29,8 @@ LDAP_BEGIN_DECL typedef struct globals { /* Thread ID for file manager thread */ ldap_pvt_thread_t fm_tid; + /* pipe/socket used to wake manager from signal handler */ + int wake_sds[2]; /* The name of the slapd config file (which is also our config file) */ char *slapd_configfile; /* How long the master slurpd sleeps when there's no work to do */ @@ -44,8 +51,12 @@ typedef struct globals { char slurpd_replogfile[ MAXPATHLEN ]; /* Non-zero if we were given a replog file to process on command-line */ int one_shot_mode; + /* Non-zero if we should not detach the process */ + int no_detach; /* Name of program */ char *myname; + /* NT service name */ + char *serverName; /* Current offset into slurpd replica logfile */ off_t srpos; /* mutex to serialize access to reject file */ @@ -54,10 +65,10 @@ typedef struct globals { St *st; /* Pointer to replication queue */ Rq *rq; -#ifdef HAVE_KERBEROS +#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND /* Default name of kerberos srvtab file */ char *default_srvtab; -#endif /* HAVE_KERBEROS */ +#endif /* LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND */ } Globals;