/[anubis]/anubis/src/extern.h
ViewVC logotype

Diff of /anubis/src/extern.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by polak, Fri Mar 7 19:51:23 2003 UTC revision 1.12 by gray, Sun Apr 6 20:36:09 2003 UTC
# Line 54  struct session_struct { Line 54  struct session_struct {
54   unsigned int socks_port;   unsigned int socks_port;
55  };  };
56    
57  #ifdef HAVE_TLS  #if defined(HAVE_TLS) || defined(HAVE_SSL)
58  struct secure_struct {  # define USE_SSL
59   gnutls_session client;  #else
60   gnutls_session server;  # undef USE_SSL
61   gnutls_certificate_client_credentials xcred;  #endif
  gnutls_certificate_server_credentials x509_cred;  
  char *cafile;  
  char *cert;  
  char *key;  
 };  
 #endif /* HAVE_TLS */  
62    
63  #ifdef HAVE_SSL  #ifdef USE_SSL
64  struct secure_struct {  struct secure_struct {
65   SSL *client;   void *client;
66   SSL *server;   void *server;
  SSL_CTX *ctx_client;  
  SSL_CTX *ctx_server;  
67   char *cafile;   char *cafile;
68   char *cert;   char *cert;
69   char *key;   char *key;
70  };  };
71  #endif /* HAVE_SSL */  extern struct secure_struct secure;
72    #endif
73    
74  extern struct options_struct options;  extern struct options_struct options;
75  extern struct session_struct session;  extern struct session_struct session;
 #if defined(HAVE_TLS) || defined(HAVE_SSL)  
 extern struct secure_struct secure;  
 #endif /* HAVE_TLS or HAVE_SSL */  
76    
77  extern unsigned long topt;  extern unsigned long topt;
78  extern void *remote_client;  extern void *remote_client;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26