summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-21 08:37:14 +0200
committerMichael Adam <obnox@samba.org>2010-09-21 08:52:06 +0200
commit0bd2756b974f171eb837d30309e2a46915edd861 (patch)
tree07484b2a7fa504a935dfd1740a86f35cc82a7b95 /source3/registry
parent4696cd6cbe02d93039240f82917582f4e7a91aa9 (diff)
downloadsamba-0bd2756b974f171eb837d30309e2a46915edd861.tar.gz
samba-0bd2756b974f171eb837d30309e2a46915edd861.tar.bz2
samba-0bd2756b974f171eb837d30309e2a46915edd861.zip
s3:registry: move prototypes from reg_init_basic.c to their own header.
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_init_basic.c1
-rw-r--r--source3/registry/reg_init_basic.h26
-rw-r--r--source3/registry/reg_init_full.c1
-rw-r--r--source3/registry/reg_init_smbconf.c1
4 files changed, 29 insertions, 0 deletions
diff --git a/source3/registry/reg_init_basic.c b/source3/registry/reg_init_basic.c
index 097be39b33..ea8077fc14 100644
--- a/source3/registry/reg_init_basic.c
+++ b/source3/registry/reg_init_basic.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "registry.h"
+#include "reg_init_basic.h"
#include "reg_cachehook.h"
#include "reg_backend_db.h"
diff --git a/source3/registry/reg_init_basic.h b/source3/registry/reg_init_basic.h
new file mode 100644
index 0000000000..4149b5d68a
--- /dev/null
+++ b/source3/registry/reg_init_basic.h
@@ -0,0 +1,26 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * Registry helper routines
+ * Copyright (C) Michael Adam 2008
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _REG_INIT_BASIC_H
+#define _REG_INIT_BASIC_H
+
+WERROR registry_init_common(void);
+WERROR registry_init_basic(void);
+
+#endif /* _REG_INIT_BASIC_H */
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index c99d974f55..e17bc413c2 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -26,6 +26,7 @@
#include "reg_backend_db.h"
#include "reg_perfcount.h"
#include "reg_eventlog.h"
+#include "reg_init_basic.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY
diff --git a/source3/registry/reg_init_smbconf.c b/source3/registry/reg_init_smbconf.c
index f811049557..e2024df8b5 100644
--- a/source3/registry/reg_init_smbconf.c
+++ b/source3/registry/reg_init_smbconf.c
@@ -21,6 +21,7 @@
#include "registry.h"
#include "reg_cachehook.h"
#include "reg_backend_db.h"
+#include "reg_init_basic.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY