|
|
1.1.1.9 root 1: /*
1.1.1.11 root 2: Legal Notice: Some portions of the source code contained in this file were
3: derived from the source code of Encryption for the Masses 2.02a, which is
4: Copyright (c) 1998-2000 Paul Le Roux and which is governed by the 'License
5: Agreement for Encryption for the Masses'. Modifications and additions to
6: the original source code (contained in this file) and all other portions of
7: this file are Copyright (c) 2003-2008 TrueCrypt Foundation and are governed
1.1.1.13! root 8: by the TrueCrypt License 2.6 the full text of which is contained in the
1.1.1.11 root 9: file License.txt included in TrueCrypt binary and source code distribution
1.1.1.9 root 10: packages. */
1.1 root 11:
1.1.1.11 root 12: #ifdef __cplusplus
13: extern "C" {
14: #endif
15:
1.1 root 16: #define HAS_ARGUMENT 1
17: #define HAS_NO_ARGUMENT !HAS_ARGUMENT
18:
19: typedef struct argument_t
20: {
1.1.1.13! root 21: int Id;
! 22: char long_name[32];
1.1 root 23: char short_name[8];
1.1.1.13! root 24: BOOL Internal;
1.1 root 25: } argument;
26:
27: typedef struct argumentspec_t
28: {
29: argument *args;
30: int arg_cnt;
31: } argumentspec;
32:
1.1.1.10 root 33: BOOL CALLBACK CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
1.1 root 34: int Win32CommandLine ( char *lpszCommandLine , char ***lpszArgs );
35: int GetArgSepPosOffset ( char *lpszArgument );
36: int GetArgumentID ( argumentspec *as , char *lpszArgument , int *nArgPos );
37: int GetArgumentValue ( char **lpszCommandLineArgs , int nArgPos , int *nArgIdx , int nNoCommandLineArgs , char *lpszValue , int nValueSize );
1.1.1.11 root 38:
39: #ifdef __cplusplus
40: }
41: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.