[Title] Update spec according to gnutls upgrade to 2.12.20
[external/libgnutls26.git] / src / crypt.gaa
1 #{
2
3 /* C declarations */
4
5 #include <config.h>
6 #ifdef _WIN32
7 # include <io.h>
8 #endif
9
10 void srptool_version(void);
11
12 #}
13
14 helpnode "Srptool help\nUsage : srptool [options]"
15
16 #int debug;
17 option (d, debug) INT "integer" { $debug = $1 } "Enable debugging" 
18
19 #char *username;
20 option (u,username) STR "username" { $username = $1 } "specify username."
21
22 #char *passwd;
23 option (p, passwd) STR "FILE" { $passwd = $1 } "specify a password file."
24
25 #int index;
26 option (i, index) INT "INDEX" { $index = $1 } "specify the index of the group parameters in tpasswd.conf to use."
27
28 #int salt;
29 option (s, salt) INT "SALT" { $salt = $1 } "specify salt size for crypt algorithm."
30
31 #int verify;
32 option (verify) { $verify = 1 } "just verify password."
33
34 #char *passwd_conf;
35 option (c, passwd-conf) STR "FILE" { $passwd_conf = $1 } "specify a password conf file."
36
37 #char *create_conf;
38 option ( create-conf) STR "FILE" { $create_conf = $1 } "Generate a tpasswd.conf file."
39
40 option (v, version) { srptool_version(); exit(0); } "prints the program's version number"
41 option (h, help) { gaa_help(); exit(0); } "shows this help text"
42
43 init { $username=NULL; $passwd=NULL; $salt=0;
44        $create_conf=NULL; $passwd_conf=NULL; $verify = 0; 
45        $index = 1; $debug = 0; }