Use autoconf headers.

This commit is contained in:
Kurt Zeilenga 1998-09-28 20:28:22 +00:00
parent ae21b1ee94
commit 92eb657cd0
4 changed files with 23 additions and 9 deletions

View File

@ -1,17 +1,22 @@
/* ldapdelete.c - simple program to delete an entry using LDAP */
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#include "ldapconfig.h"
static char *binddn = LDAPDELETE_BINDDN;
static char *passwd = LDAPDELETE_BIND_CRED;
static char *base = LDAPDELETE_BASE;
static char *passwd = NULL;
static char *ldaphost = LDAPHOST;
static int ldapport = LDAP_PORT;
static int not, verbose, contoper;

View File

@ -11,9 +11,8 @@
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#ifndef VMS
#include <unistd.h>
#endif /* VMS */
#include <ac/unistd.h>
#include <lber.h>
#include <ldap.h>

View File

@ -1,17 +1,22 @@
/* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP */
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#include "ldapconfig.h"
static char *binddn = LDAPMODRDN_BINDDN;
static char *passwd = LDAPMODRDN_BIND_CRED;
static char *base = LDAPMODRDN_BASE;
static char *passwd = NULL;
static char *ldaphost = LDAPHOST;
static int ldapport = LDAP_PORT;
static int not, verbose, contoper;

View File

@ -1,6 +1,11 @@
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#include <ldif.h>
@ -52,7 +57,7 @@ char *s;
}
static char *binddn = LDAPSEARCH_BINDDN;
static char *passwd = NULL;
static char *passwd = LDAPSEARCH_BIND_CRED;
static char *base = LDAPSEARCH_BASE;
static char *ldaphost = LDAPHOST;
static int ldapport = LDAP_PORT;