/[hydra]/hydra/src/globals.h
ViewVC logotype

Diff of /hydra/src/globals.h

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

revision 1.7 by nmav, Tue Sep 24 21:47:26 2002 UTC revision 1.8 by nmav, Wed Sep 25 06:42:34 2002 UTC
# Line 44  struct mmap_entry { Line 44  struct mmap_entry {
44      int times_used;      int times_used;
45  };  };
46    
47    struct alias {
48        char *fakename;             /* URI path to file */
49        char *realname;             /* Actual path to file */
50        int type;                   /* ALIAS, SCRIPTALIAS, REDIRECT */
51        int fake_len;               /* strlen of fakename */
52        int real_len;               /* strlen of realname */
53        struct alias *next;
54    };
55    
56    typedef struct alias alias;
57    
58  typedef struct _virthost {  typedef struct _virthost {
59      char *ip;                   /* This virthost will be visible in this IP */      char *ip;                   /* This virthost will be visible in this IP */
60      char *host;                 /* The hostname of the virtual host */      char *host;                 /* The hostname of the virtual host */
# Line 53  typedef struct _virthost { Line 64  typedef struct _virthost {
64      int ip_len;                 /* strlen of IP */      int ip_len;                 /* strlen of IP */
65      int host_len;               /* strlen of hostname */      int host_len;               /* strlen of hostname */
66      int document_root_len;      /* strlen of document root */      int document_root_len;      /* strlen of document root */
67        alias *alias_hashtable[ALIAS_HASHTABLE_SIZE]; /* aliases in this virthost */
68      struct _virthost *next;      struct _virthost *next;
69  } virthost;  } virthost;
70    
 struct alias {  
     char *fakename;             /* URI path to file */  
     char *realname;             /* Actual path to file */  
     int type;                   /* ALIAS, SCRIPTALIAS, REDIRECT */  
     int fake_len;               /* strlen of fakename */  
     int real_len;               /* strlen of realname */  
     struct alias *next;  
 };  
   
 typedef struct alias alias;  
   
71  struct request {                /* pending requests */  struct request {                /* pending requests */
72      int fd;                     /* client's socket fd */      int fd;                     /* client's socket fd */
73      GNUTLS_STATE ssl_state;      GNUTLS_STATE ssl_state;
# Line 108  struct request {                /* pendi Line 109  struct request {                /* pendi
109      time_t last_modified;       /* Last-modified: */      time_t last_modified;       /* Last-modified: */
110    
111      char local_ip_addr[NI_MAXHOST]; /* for virtualhost */      char local_ip_addr[NI_MAXHOST]; /* for virtualhost */
112        char *hostname;
113      char document_root[MAX_PATH_LENGTH + 1];      char document_root[MAX_PATH_LENGTH + 1];
114      char user_dir[MAX_PATH_LENGTH + 1];      char user_dir[MAX_USER_DIR_LENGTH + 1];
115    
116      /* CGI vars */      /* CGI vars */
117    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26