Tizen 2.0 Release
[external/libgnutls26.git] / src / psk.gaa
1 #{
2
3 /* C declarations */
4
5 #include <config.h>
6 #ifdef _WIN32
7 # include <io.h>
8 #endif
9
10 void psktool_version(void);
11
12 #}
13
14 helpnode "PSKtool help\nUsage : psktool [options]"
15
16 #char *username;
17 option (u,username) STR "username" { $username = $1 } "specify username."
18
19 #char *passwd;
20 option (p, passwd) STR "FILE" { $passwd = $1 } "specify a password file."
21
22 #int key_size;
23 option (s, keysize) INT "SIZE" { $key_size = $1 } "specify the key size in bytes."
24
25 option (v, version) { psktool_version(); exit(0); } "prints the program's version number"
26 option (h, help) { gaa_help(); exit(0); } "shows this help text"
27
28 init { $username=NULL; $passwd=NULL; $key_size = 0; }