summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util')
-rw-r--r--source4/lib/util/config.mk3
-rw-r--r--source4/lib/util/util.h8
2 files changed, 10 insertions, 1 deletions
diff --git a/source4/lib/util/config.mk b/source4/lib/util/config.mk
index 22e6617f7c..c6afad1e3f 100644
--- a/source4/lib/util/config.mk
+++ b/source4/lib/util/config.mk
@@ -18,7 +18,8 @@ OBJ_FILES = xfile.o \
ms_fnmatch.o \
mutex.o \
idtree.o \
- become_daemon.o
+ become_daemon.o \
+ params.o
PUBLIC_DEPENDENCIES = \
LIBTALLOC LIBCRYPTO \
SOCKET_WRAPPER LIBREPLACE_NETWORK \
diff --git a/source4/lib/util/util.h b/source4/lib/util/util.h
index 550b60c625..26700587ef 100644
--- a/source4/lib/util/util.h
+++ b/source4/lib/util/util.h
@@ -795,4 +795,12 @@ _PUBLIC_ int idr_remove(struct idr_context *idp, int id);
**/
_PUBLIC_ void become_daemon(bool fork);
+/**
+ * Load a ini-style file.
+ */
+bool pm_process( const char *fileName,
+ bool (*sfunc)(const char *, void *),
+ bool (*pfunc)(const char *, const char *, void *),
+ void *userdata);
+
#endif /* _SAMBA_UTIL_H_ */