openldap/include/ac/setproctitle.h
Kurt Zeilenga 12ed7e46ef Use LDAP_F and LDAP_P macros.
Fix LDAP_HI 0x377 vs 0377 bug.
1999-06-07 18:35:30 +00:00

28 lines
744 B
C

/* Generic setproctitle.h */
/*
* Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted only
* as authorized by the OpenLDAP Public License. A copy of this
* license is available at http://www.OpenLDAP.org/license.html or
* in file LICENSE in the top-level directory of the distribution.
*/
#ifndef _AC_SETPROCTITLE_H
#define _AC_SETPROCTITLE_H
#ifdef LDAP_PROCTITLE
#if defined( HAVE_LIBUTIL_H )
# include <libutil.h>
#else
/* use lutil version */
LDAP_F(void) (setproctitle) LDAP_P((const char *fmt, ...));
LDAP_F(int) Argc;
LDAP_F(char) **Argv;
#endif
#endif /* LDAP_PROCTITLE */
#endif /* _AC_SETPROCTITLE_H */