2 #define SERVER "127.0.0.1"
4 #include <gnutls/gnutls.h>
6 #include <sys/socket.h>
9 #include <netinet/in.h>
17 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
18 #define __attribute__(Spec) /* empty */
22 /* the number of elements in the priority structures.
26 extern const char str_unknown[];
28 int print_info (gnutls_session_t state, const char *hostname, int insecure);
29 void print_cert_info (gnutls_session_t state, const char *hostname,
31 void print_list (int verbose);
33 const char *raw_to_string (const unsigned char *raw, size_t raw_size);
34 int service_to_port (const char *service);
35 void pkcs11_common (void);
36 void sockets_init (void);