include/popt_common.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003    Common popt arguments
00004    Copyright (C) Jelmer Vernooij        2003
00005    
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015    
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019 */
00020 
00021 #ifndef _POPT_COMMON_H
00022 #define _POPT_COMMON_H
00023 
00024 #include <popt.h>
00025 
00026 /* Common popt structures */
00027 extern struct poptOption popt_common_samba[];
00028 extern struct poptOption popt_common_connection[];
00029 extern struct poptOption popt_common_version[];
00030 extern struct poptOption popt_common_credentials[];
00031 extern const struct poptOption popt_common_dynconfig[];
00032 
00033 #ifndef POPT_TABLEEND
00034 #define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
00035 #endif
00036 
00037 #define POPT_COMMON_SAMBA { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_samba, 0, "Common samba options:", NULL },
00038 #define POPT_COMMON_CONNECTION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_connection, 0, "Connection options:", NULL },
00039 #define POPT_COMMON_VERSION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version, 0, "Common samba options:", NULL },
00040 #define POPT_COMMON_CREDENTIALS { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_credentials, 0, "Authentication options:", NULL },
00041 #define POPT_COMMON_DYNCONFIG { NULL, 0, POPT_ARG_INCLUDE_TABLE, \
00042     CONST_DISCARD(poptOption *, popt_common_dynconfig), 0, \
00043     "Build-time configuration overrides:", NULL },
00044 
00045 struct user_auth_info {
00046         pstring username;
00047         pstring password;
00048         BOOL got_pass;
00049         BOOL use_kerberos;
00050         int signing_state;
00051 };
00052 
00053 extern struct user_auth_info cmdline_auth_info;
00054 
00055 #endif /* _POPT_COMMON_H */

Sambaに対してSat Aug 29 21:22:54 2009に生成されました。  doxygen 1.4.7