diff options
Diffstat (limited to 'ldap/admin/src')
29 files changed, 145 insertions, 0 deletions
diff --git a/ldap/admin/src/addindex.c b/ldap/admin/src/addindex.c index 22732dbb..4a3d0dff 100644 --- a/ldap/admin/src/addindex.c +++ b/ldap/admin/src/addindex.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * addindex.c: Creates one or more indexes for specified attributes * diff --git a/ldap/admin/src/cfg_sspt.c b/ldap/admin/src/cfg_sspt.c index 239da87d..5d6028c3 100644 --- a/ldap/admin/src/cfg_sspt.c +++ b/ldap/admin/src/cfg_sspt.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <stdarg.h> #include <stdlib.h> diff --git a/ldap/admin/src/cfg_sspt.h b/ldap/admin/src/cfg_sspt.h index d437080a..15ad7237 100644 --- a/ldap/admin/src/cfg_sspt.h +++ b/ldap/admin/src/cfg_sspt.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #ifndef __cfg_sspt_h #define __cfg_sspt_h diff --git a/ldap/admin/src/configure_instance.cpp b/ldap/admin/src/configure_instance.cpp index 80b5b24d..c70cc7ea 100644 --- a/ldap/admin/src/configure_instance.cpp +++ b/ldap/admin/src/configure_instance.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /********************************************************************* ** ** diff --git a/ldap/admin/src/configure_instance.h b/ldap/admin/src/configure_instance.h index 7127af83..aedde9e1 100644 --- a/ldap/admin/src/configure_instance.h +++ b/ldap/admin/src/configure_instance.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /*********************************************************************** ** ** diff --git a/ldap/admin/src/create_instance.c b/ldap/admin/src/create_instance.c index 40e37934..0bae15cc 100644 --- a/ldap/admin/src/create_instance.c +++ b/ldap/admin/src/create_instance.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * create_instance.c: Routines for creating an instance of a Directory Server * diff --git a/ldap/admin/src/create_instance.h b/ldap/admin/src/create_instance.h index c63f1a87..971da882 100644 --- a/ldap/admin/src/create_instance.h +++ b/ldap/admin/src/create_instance.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * create_instance.h: create an instance of a directory server * diff --git a/ldap/admin/src/ds_bak2db.c b/ldap/admin/src/ds_bak2db.c index 57c17fc4..39021dbd 100644 --- a/ldap/admin/src/ds_bak2db.c +++ b/ldap/admin/src/ds_bak2db.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Restores a database. * diff --git a/ldap/admin/src/ds_db2bak.c b/ldap/admin/src/ds_db2bak.c index 0a1ceeed..a8e280b9 100644 --- a/ldap/admin/src/ds_db2bak.c +++ b/ldap/admin/src/ds_db2bak.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Backs up the database. * diff --git a/ldap/admin/src/ds_db2ldif.c b/ldap/admin/src/ds_db2ldif.c index a63894d2..031ee2dc 100644 --- a/ldap/admin/src/ds_db2ldif.c +++ b/ldap/admin/src/ds_db2ldif.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Converts the database into an ldif file. * diff --git a/ldap/admin/src/ds_ldif2db.c b/ldap/admin/src/ds_ldif2db.c index 276a0fe5..aef7fed8 100644 --- a/ldap/admin/src/ds_ldif2db.c +++ b/ldap/admin/src/ds_ldif2db.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * ds_ldif2db.c: Converts an ldif file into a database. * diff --git a/ldap/admin/src/ds_listdb.c b/ldap/admin/src/ds_listdb.c index 197e5696..fc44d5d3 100644 --- a/ldap/admin/src/ds_listdb.c +++ b/ldap/admin/src/ds_listdb.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * List the database backup directories. * No HTML - this is for DS 4.0. diff --git a/ldap/admin/src/ds_newinst.c b/ldap/admin/src/ds_newinst.c index 79ee7fa9..5de0c4d7 100644 --- a/ldap/admin/src/ds_newinst.c +++ b/ldap/admin/src/ds_newinst.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * ds_newinst.c - creates a new instance of directory server, scripts, * configuration, etc. Does not create any Admin Server stuff or diff --git a/ldap/admin/src/ds_remove.c b/ldap/admin/src/ds_remove.c index aefc88bf..660104bc 100644 --- a/ldap/admin/src/ds_remove.c +++ b/ldap/admin/src/ds_remove.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Remove the server * diff --git a/ldap/admin/src/ds_remove_uninst.cpp b/ldap/admin/src/ds_remove_uninst.cpp index 118c5d55..b7699176 100644 --- a/ldap/admin/src/ds_remove_uninst.cpp +++ b/ldap/admin/src/ds_remove_uninst.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + // ds_remove_uninst.cpp // // ds_remove routines that use c++ calls in adminutil diff --git a/ldap/admin/src/ds_remove_uninst.h b/ldap/admin/src/ds_remove_uninst.h index a1500696..6ce2b6b1 100644 --- a/ldap/admin/src/ds_remove_uninst.h +++ b/ldap/admin/src/ds_remove_uninst.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* ds_remove_uninst.h */ diff --git a/ldap/admin/src/ds_rmdb.c b/ldap/admin/src/ds_rmdb.c index 476897f6..2c6f47e3 100644 --- a/ldap/admin/src/ds_rmdb.c +++ b/ldap/admin/src/ds_rmdb.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Delete backed-up database files. * diff --git a/ldap/admin/src/ds_snmpctrl.c b/ldap/admin/src/ds_snmpctrl.c index 06c30503..1ac2fea6 100644 --- a/ldap/admin/src/ds_snmpctrl.c +++ b/ldap/admin/src/ds_snmpctrl.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * snmpctrl.c - start/stop/restart LDAP-based SNMP subagent * diff --git a/ldap/admin/src/init_ds_env.c b/ldap/admin/src/init_ds_env.c index c4a1ce49..f6ca8a03 100644 --- a/ldap/admin/src/init_ds_env.c +++ b/ldap/admin/src/init_ds_env.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Set up environment for CGIs. * diff --git a/ldap/admin/src/init_ds_env.h b/ldap/admin/src/init_ds_env.h index fcb9c8c5..7e6b7275 100644 --- a/ldap/admin/src/init_ds_env.h +++ b/ldap/admin/src/init_ds_env.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Set up environment for CGIs. * diff --git a/ldap/admin/src/install_keywords.h b/ldap/admin/src/install_keywords.h index 56856614..9106a1cf 100644 --- a/ldap/admin/src/install_keywords.h +++ b/ldap/admin/src/install_keywords.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /********************************************************************* ** ** diff --git a/ldap/admin/src/instindex.cpp b/ldap/admin/src/instindex.cpp index 83ebe45a..05c3fbee 100644 --- a/ldap/admin/src/instindex.cpp +++ b/ldap/admin/src/instindex.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * index.c: Shows the first page you see on install * diff --git a/ldap/admin/src/latest_file.c b/ldap/admin/src/latest_file.c index df1d6dd2..7e38b368 100644 --- a/ldap/admin/src/latest_file.c +++ b/ldap/admin/src/latest_file.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /*********************************************************************** ** ** NAME diff --git a/ldap/admin/src/namegen.c b/ldap/admin/src/namegen.c index 5e36c15b..c35c3eda 100644 --- a/ldap/admin/src/namegen.c +++ b/ldap/admin/src/namegen.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* namegen.c - utility program to generate name * * of backup files in the format YYYY_MM_DD_HMS * * and set it up as an environment variable to * diff --git a/ldap/admin/src/restart.c b/ldap/admin/src/restart.c index fec805fb..e45676e7 100644 --- a/ldap/admin/src/restart.c +++ b/ldap/admin/src/restart.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * restart.c: Stops and the starts up the server. * diff --git a/ldap/admin/src/script-gen.c b/ldap/admin/src/script-gen.c index cac07884..0b17eb03 100644 --- a/ldap/admin/src/script-gen.c +++ b/ldap/admin/src/script-gen.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * this is used for generating the (large) scripts during create_instance. */ diff --git a/ldap/admin/src/shutdown.c b/ldap/admin/src/shutdown.c index 14e6d86a..a1c98a5d 100644 --- a/ldap/admin/src/shutdown.c +++ b/ldap/admin/src/shutdown.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * shutdown.c: Kills the server. * diff --git a/ldap/admin/src/start.c b/ldap/admin/src/start.c index 63194fe3..1765ab0c 100644 --- a/ldap/admin/src/start.c +++ b/ldap/admin/src/start.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * start.c: Starts up the server. * diff --git a/ldap/admin/src/vlvindex.c b/ldap/admin/src/vlvindex.c index 426c6925..6eb8c1a9 100644 --- a/ldap/admin/src/vlvindex.c +++ b/ldap/admin/src/vlvindex.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * vlvindex.c: Creates a VLV index for a given search * |