diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-19 12:18:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:10 -0500 |
commit | d139dc808abd7b3ee8c4721c6e4ce51894210598 (patch) | |
tree | b088f1a08fc418a233704f56899368b8ea4d6821 /source4/include | |
parent | bca24a19ebfc8943b46fdb900418e396aef96aa4 (diff) | |
download | samba-d139dc808abd7b3ee8c4721c6e4ce51894210598.tar.gz samba-d139dc808abd7b3ee8c4721c6e4ce51894210598.tar.bz2 samba-d139dc808abd7b3ee8c4721c6e4ce51894210598.zip |
r1912: move popt_common.h
metze
(This used to be commit ecf6be894fc47f9e00f46531e06ef20e11115c0f)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/popt_common.h | 51 | ||||
-rw-r--r-- | source4/include/rewrite.h | 2 |
2 files changed, 1 insertions, 52 deletions
diff --git a/source4/include/popt_common.h b/source4/include/popt_common.h deleted file mode 100644 index e41b1a2cf4..0000000000 --- a/source4/include/popt_common.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - Unix SMB/CIFS implementation. - Common popt arguments - Copyright (C) Jelmer Vernooij 2003 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifndef _POPT_COMMON_H -#define _POPT_COMMON_H - -#include "popt.h" - -/* Common popt structures */ -extern struct poptOption popt_common_samba[]; -extern struct poptOption popt_common_connection[]; -extern struct poptOption popt_common_version[]; -extern struct poptOption popt_common_credentials[]; - -#ifndef POPT_TABLEEND -#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL } -#endif - -#define POPT_COMMON_SAMBA { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_samba, 0, "Common samba options:", NULL }, -#define POPT_COMMON_CONNECTION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_connection, 0, "Connection options:", NULL }, -#define POPT_COMMON_VERSION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version, 0, "Common samba options:", NULL }, -#define POPT_COMMON_CREDENTIALS { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_credentials, 0, "Authentication options:", NULL }, - -struct cmdline_auth_info { - pstring username; - pstring password; - pstring domain; - BOOL got_pass; - BOOL use_kerberos; -}; - -extern struct cmdline_auth_info cmdline_auth_info; - -#endif /* _POPT_COMMON_H */ diff --git a/source4/include/rewrite.h b/source4/include/rewrite.h index 21cc7342d1..626a467331 100644 --- a/source4/include/rewrite.h +++ b/source4/include/rewrite.h @@ -280,6 +280,6 @@ typedef struct { char *from_name, *to_name; } *smb_iconv_t; -#include "popt_common.h" +#include "lib/cmdline/popt_common.h" #endif /* _REWRITE_H */ |