Fix memory leak.
[gnutls.git] / src / tls_test.gaa
bloba4080c0670b0c74a94dadc06f50b96d9a6bacf07
1 #{
3 /* C declarations */
5 #include <config.h>
6 #ifdef _WIN32
7 # include <io.h>
8 #endif
10 void tls_test_version(void);
14 helpnode "GNU TLS debug client\nUsage: gnutls-cli-debug [options] hostname\n\n"
16 #int pp;
17 option (p, port) INT "integer" { $pp = $1 } "The port to connect to."
19 #int debug;
20 option (d, debug) INT "integer" { $debug = $1 } "Enable debugging" 
22 #int more_info;
23 option (V, verbose) { $more_info += 1 } "More verbose output"
25 option (v, version) { tls_test_version(); exit(0); } "prints the program's version number"
26 option (h, help) { gaa_help(); exit(0); } "prints this help"
29 #char *rest_args;
30 rest STR "hostname" { $rest_args = $1; }
32 init { $rest_args=NULL; $pp = 443; $more_info = 0; }