mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
19 lines
670 B
C
19 lines
670 B
C
#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 },
|
|
|
|
char *netapi_read_file(const char *filename, uint32_t *psize);
|
|
int netapi_save_file(const char *fname, void *ppacket, size_t length);
|
|
int netapi_save_file_ucs2(const char *fname, const char *str);
|