From 015b47fa149851e5e332c38926badc3e85cba68d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 9 Feb 2011 13:44:42 +0100 Subject: s3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature --- source3/include/popt_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include') diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h index 040fae9b21..70d7278f01 100644 --- a/source3/include/popt_common.h +++ b/source3/include/popt_common.h @@ -29,6 +29,7 @@ extern struct poptOption popt_common_configfile[]; extern struct poptOption popt_common_version[]; extern struct poptOption popt_common_credentials[]; extern struct poptOption popt_common_debuglevel[]; +extern struct poptOption popt_common_option[]; extern const struct poptOption popt_common_dynconfig[]; #ifndef POPT_TABLEEND @@ -44,6 +45,7 @@ extern const struct poptOption popt_common_dynconfig[]; CONST_DISCARD(poptOption *, popt_common_dynconfig), 0, \ "Build-time configuration overrides:", NULL }, #define POPT_COMMON_DEBUGLEVEL { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debuglevel, 0, "Common samba debugging:", NULL }, +#define POPT_COMMON_OPTION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_option, 0, "Common samba commandline config:", NULL }, struct user_auth_info { char *username; -- cgit