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