Skip to content

Commit

Permalink
Rename local config.h to dyndb-config.h
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bokovoy <[email protected]>
  • Loading branch information
abbra committed Apr 6, 2021
1 parent 402ea22 commit c4144e0
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Makefile.in
/ar-lib
/compile
/config.guess
/config.h.in
/dyndb-config.h.in
/config.sub
/configure
/depcomp
Expand All @@ -23,7 +23,7 @@ Makefile.in

# configure
Makefile
/config.h
/dyndb-config.h
/config.log
/config.status
/libtool
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AC_INIT([bind-dyndb-ldap], [11.7], [[email protected]])
AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])

AC_CONFIG_SRCDIR([src/ldap_driver.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([dyndb-config.h])
AC_CONFIG_MACRO_DIR([m4])

# Disable static libraries
Expand Down
2 changes: 1 addition & 1 deletion src/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (C) 2009-2014 bind-dyndb-ldap authors; see COPYING for license
*/

#include "config.h"
#include "dyndb-config.h"

#include <isccfg/aclconf.h>
#include <isccfg/cfg.h>
Expand Down
2 changes: 1 addition & 1 deletion src/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef _LD_ACL_H_
#define _LD_ACL_H_

#include "config.h"
#include "dyndb-config.h"

#include "ldap_entry.h"
#include "types.h"
Expand Down
2 changes: 1 addition & 1 deletion src/bindcfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for BIND configuration parsers.
*/

#include "config.h"
#include "dyndb-config.h"

#include <isc/util.h>
#include <isccfg/grammar.h>
Expand Down
2 changes: 1 addition & 1 deletion src/empty_zones.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <dns/zone.h>
#include <dns/zt.h>

#include "config.h"
#include "dyndb-config.h"
#include "empty_zones.h"
#include "util.h"
#include "zone_register.h"
Expand Down
2 changes: 1 addition & 1 deletion src/fwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* DNS forwarding helpers.
*/

#include "config.h"
#include "dyndb-config.h"

#include <isccfg/grammar.h>

Expand Down
2 changes: 1 addition & 1 deletion src/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef _LD_FWD_H_
#define _LD_FWD_H_

#include "config.h"
#include "dyndb-config.h"
#include "ldap_entry.h"
#include "util.h"

Expand Down
2 changes: 1 addition & 1 deletion src/ldap_convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <strings.h>
#include <ctype.h>

#include "config.h"
#include "dyndb-config.h"
#include "str.h"
#include "ldap_convert.h"
#include "log.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ldap_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#include "dyndb-config.h"
#else
#error "Can't compile without config.h"
#error "Can't compile without dyndb-config.h"
#endif

#include <isc/buffer.h>
Expand Down
2 changes: 1 addition & 1 deletion src/ldap_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (C) 2009-2015 bind-dyndb-ldap authors; see COPYING for license
*/

#include "config.h"
#include "dyndb-config.h"
#define HAVE_TLS 1
#define HAVE_THREAD_LOCAL 1

Expand Down
2 changes: 1 addition & 1 deletion src/mldap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "metadb.h"
#include "mldap.h"
#include "util.h"
#include "config.h"
#include "dyndb-config.h"

#if LIBDNS_VERSION_MAJOR < 1600
#define dns_name_copynf(src, dst) dns_name_copy((src), (dst), NULL)
Expand Down
2 changes: 1 addition & 1 deletion src/rbt_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "util.h"
#include "rbt_helper.h"
#include "config.h"
#include "dyndb-config.h"

#define LDAPDB_RBTITER_MAGIC ISC_MAGIC('L', 'D', 'P', 'I')

Expand Down
2 changes: 1 addition & 1 deletion src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "types.h"
#include "ldap_helper.h"
#include "zone_register.h"
#include "config.h"
#include "dyndb-config.h"

#if LIBDNS_VERSION_MAJOR < 1600
#define cfg_parse_buffer cfg_parse_buffer4
Expand Down
2 changes: 1 addition & 1 deletion src/syncptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <dns/zone.h>
#include <dns/zt.h>

#include "config.h"
#include "dyndb-config.h"
#include "util.h"
#include "ldap_convert.h"
#include "ldap_entry.h"
Expand Down
2 changes: 1 addition & 1 deletion src/syncrepl.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <isc/time.h>
#include <isc/util.h>

#include "config.h"
#include "dyndb-config.h"
#include "ldap_helper.h"
#include "util.h"
#include "semaphore.h"
Expand Down
2 changes: 1 addition & 1 deletion src/zone.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <dns/zone.h>

#include "util.h"
#include "config.h"
#include "dyndb-config.h"

/**
* Write given diff to zone journal. Journal will be created
Expand Down

0 comments on commit c4144e0

Please sign in to comment.