summaryrefslogtreecommitdiff
path: root/source3/include/popt_common.h
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-05-24 04:02:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:11 -0500
commit90a6873b0570f2691ba8d8fd11154c856bdd4415 (patch)
treef43e5afb8ef846da4a8205966ec6ef2783660c82 /source3/include/popt_common.h
parentfc72e30c8d007afa70cf90eec8a0f0cc5f5f42b0 (diff)
downloadsamba-90a6873b0570f2691ba8d8fd11154c856bdd4415.tar.gz
samba-90a6873b0570f2691ba8d8fd11154c856bdd4415.tar.bz2
samba-90a6873b0570f2691ba8d8fd11154c856bdd4415.zip
r15848: Introduce commandline options to set the remainder of the parameters in
dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options. (This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
Diffstat (limited to 'source3/include/popt_common.h')
-rw-r--r--source3/include/popt_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h
index 7c0a86836d..4c3facb48f 100644
--- a/source3/include/popt_common.h
+++ b/source3/include/popt_common.h
@@ -28,6 +28,7 @@ extern struct poptOption popt_common_samba[];
extern struct poptOption popt_common_connection[];
extern struct poptOption popt_common_version[];
extern struct poptOption popt_common_credentials[];
+extern const struct poptOption popt_common_dynconfig[];
#ifndef POPT_TABLEEND
#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
@@ -37,6 +38,9 @@ extern struct poptOption popt_common_credentials[];
#define POPT_COMMON_CONNECTION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_connection, 0, "Connection options:", NULL },
#define POPT_COMMON_VERSION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version, 0, "Common samba options:", NULL },
#define POPT_COMMON_CREDENTIALS { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_credentials, 0, "Authentication options:", NULL },
+#define POPT_COMMON_DYNCONFIG { NULL, 0, POPT_ARG_INCLUDE_TABLE, \
+ CONST_DISCARD(poptOption *, popt_common_dynconfig), 0, \
+ "Build-time configuration overrides:", NULL },
struct user_auth_info {
pstring username;