s4: popt: Add set/get/free functions for cmdline_credentials.
[bbaumbach/samba-autobuild/.git] / source4 / lib / cmdline / popt_common.h
index fec7a3c305743666a0bf7d6e6ed3be8097eb1b21..d1f764a0df9a0c1cae495b08511cf69807af031e 100644 (file)
@@ -38,6 +38,9 @@ extern struct poptOption popt_common_credentials4[];
 #define POPT_COMMON_CREDENTIALS { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_credentials4, 0, "Authentication options:", NULL },
 
 extern struct cli_credentials *cmdline_credentials;
+void popt_set_cmdline_credentials(struct cli_credentials *creds);
+struct cli_credentials *popt_get_cmdline_credentials(void);
+void popt_free_cmdline_credentials(void);
 extern struct loadparm_context *cmdline_lp_ctx;
 
 #endif /* _POPT_COMMON_H */