vfs_ceph: fix strict_allocate_ftruncate()
[Samba.git] / source3 / include / popt_common_cmdline.h
blob21130cff0716fa55886a40ce08fadca7002073b3
1 /*
2 Unix SMB/CIFS implementation.
3 Common popt arguments
4 Copyright (C) Jelmer Vernooij 2003
5 Copyright (C) Christof Schmitt 2018
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _POPT_COMMON_CREDENTIALS_H
23 #define _POPT_COMMON_CREDENTIALS_H
25 #include "popt_common.h"
27 extern struct poptOption popt_common_credentials[];
28 #define POPT_COMMON_CREDENTIALS \
29 { \
30 NULL, \
31 0, \
32 POPT_ARG_INCLUDE_TABLE, \
33 popt_common_credentials, \
34 0, \
35 "Authentication options:", \
36 NULL \
39 struct user_auth_info *popt_get_cmdline_auth_info(void);
40 void popt_free_cmdline_auth_info(void);
42 void popt_common_credentials_set_ignore_missing_conf(void);
43 void popt_common_credentials_set_delay_post(void);
44 void popt_common_credentials_post(void);
45 void popt_burn_cmdline_password(int argc, char *argv[]);
47 #endif