Update `NEWS'.
[gnutls.git] / src / psk.gaa
blob24660b14871173057767a76fea5e542669230f5c
1 #{
3 /* C declarations */
5 #include <config.h>
6 #ifdef _WIN32
7 # include <io.h>
8 #endif
10 void psktool_version(void);
14 helpnode "PSKtool help\nUsage : psktool [options]"
16 #char *username;
17 option (u,username) STR "username" { $username = $1 } "specify username."
19 #char *passwd;
20 option (p, passwd) STR "FILE" { $passwd = $1 } "specify a password file."
22 #int key_size;
23 option (s, keysize) INT "SIZE" { $key_size = $1 } "specify the key size in bytes."
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"
28 init { $username=NULL; $passwd=NULL; $key_size = NULL; }