1 /* Generic setproctitle.h */
4 * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
7 * Redistribution and use in source and binary forms are permitted only
8 * as authorized by the OpenLDAP Public License. A copy of this
9 * license is available at http://www.OpenLDAP.org/license.html or
10 * in file LICENSE in the top-level directory of the distribution.
13 #ifndef _AC_SETPROCTITLE_H
14 #define _AC_SETPROCTITLE_H
18 #if defined( HAVE_LIBUTIL_H )
21 /* use lutil version */
22 LIBLUTIL_F (void) (setproctitle) LDAP_P((const char *fmt, ...)) \
23 LDAP_GCCATTR((format(printf, 1, 2)));
24 LIBLUTIL_F (int) Argc;
25 LIBLUTIL_F (char) **Argv;
28 #endif /* LDAP_PROCTITLE */
29 #endif /* _AC_SETPROCTITLE_H */