summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/examples/common.h
blob: 917698c9563b93f825d7e52666a2a415a6bdd08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <popt.h>

void popt_common_callback(poptContext con,
			 enum poptCallbackReason reason,
			 const struct poptOption *opt,
			 const char *arg, const void *data);

extern struct poptOption popt_common_netapi_examples[];

#ifndef POPT_TABLEEND
#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
#endif

#define POPT_COMMON_LIBNETAPI_EXAMPLES { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_netapi_examples, 0, "Common samba netapi example options:", NULL },