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

Diff of /hydra/src/boa.h

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

revision 1.23 by nmav, Sun Sep 29 12:02:57 2002 UTC revision 1.24 by nmav, Fri Oct 4 09:11:43 2002 UTC
# Line 61  Line 61 
61    
62  #include "globals.h"  #include "globals.h"
63    
64    
65  /* alias */  /* alias */
66  void add_alias(char* hostname, char *fakename, char *realname, int script);  void add_alias(char* hostname, char *fakename, char *realname, int script);
67  int translate_uri(request * req);  int translate_uri(request * req);
# Line 88  void read_config_files(void); Line 89  void read_config_files(void);
89    
90  int init_get(server_params*, request * req);  int init_get(server_params*, request * req);
91  int process_get(server_params*, request * req);  int process_get(server_params*, request * req);
92  int get_dir(request * req, struct stat *statbuf);  int get_dir(request * req, stat_st *statbuf);
93  const char* hydra_method_str( int method);  const char* hydra_method_str( int method);
94    
95  /* hash */  /* hash */
# Line 190  void hic_init(); Line 191  void hic_init();
191  void clean_pathname(char *pathname);  void clean_pathname(char *pathname);
192  void get_commonlog_time(char buf[30]);  void get_commonlog_time(char buf[30]);
193  void rfc822_time_buf(char *buf, time_t s);  void rfc822_time_buf(char *buf, time_t s);
194  int simple_itoa(unsigned long int i, char buf[22]);  int simple_itoa(off64_t i, char buf[22]);
195  int boa_atoi(const char *s);  int boa_atoi(const char *s);
196  long boa_atol(const char *s);  off64_t boa_atoll(const char *s);
197  int create_etag(unsigned long int size, unsigned long int mod_time,  int create_etag(unsigned long int size, unsigned long int mod_time,
198     char buf[MAX_ETAG_LENGTH]);     char buf[MAX_ETAG_LENGTH]);
199  char *escape_string(char *inp, char *buf);  char *escape_string(char *inp, char *buf);
# Line 219  char *escape_uri(char *uri); Line 220  char *escape_uri(char *uri);
220  void timestamp(void);  void timestamp(void);
221    
222  /* mmap_cache */  /* mmap_cache */
223  struct mmap_entry *find_mmap( int data_fd, struct stat *s);  struct mmap_entry *find_mmap( int data_fd, stat_st *s);
224  void release_mmap( struct mmap_entry *e);  void release_mmap( struct mmap_entry *e);
225  void initialize_mmap( void);  void initialize_mmap( void);
226  void mmap_reinit( void);  void mmap_reinit( void);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26