/[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.27 by nmav, Sun Oct 6 09:42:50 2002 UTC revision 1.28 by nmav, Mon Oct 21 18:46:26 2002 UTC
# Line 42  Line 42 
42  #include <netinet/in.h>  #include <netinet/in.h>
43    
44  #include <sys/mman.h>  #include <sys/mman.h>
 #include <sys/select.h>  
45  #include <sys/types.h>          /* socket, bind, accept */  #include <sys/types.h>          /* socket, bind, accept */
46  #include <sys/socket.h>         /* socket, bind, accept, setsockopt, */  #include <sys/socket.h>         /* socket, bind, accept, setsockopt, */
47  #include <sys/stat.h>           /* open */  #include <sys/stat.h>           /* open */
# Line 108  int get_hash_value( const char* str); Line 107  int get_hash_value( const char* str);
107    
108  /* log */  /* log */
109  void open_logs(void);  void open_logs(void);
 void close_access_log(void);  
110  void log_access(request * req);  void log_access(request * req);
111  void log_error_doc(request * req);  void log_error_doc(request * req);
112  void boa_perror(request * req, char *message);  void boa_perror(request * req, char *message);
# Line 205  char *to_upper(char *str); Line 203  char *to_upper(char *str);
203  int unescape_uri(char *uri, char **query_string);  int unescape_uri(char *uri, char **query_string);
204  int create_temporary_file(short want_unlink, char *storage, int size);  int create_temporary_file(short want_unlink, char *storage, int size);
205  char * normalize_path(char *path);  char * normalize_path(char *path);
206  int real_set_block_fd(int fd);  int set_block_fd(int fd);
207  int real_set_nonblock_fd(int fd);  int set_nonblock_fd(int fd);
208    int set_cloexec_fd(int fd);
209    void strlower(char *s);
210    int check_host(char *r);
211  void create_url( char * buffer, int buffer_size, int secure,  void create_url( char * buffer, int buffer_size, int secure,
212     const char* hostname, int port, const char* request_uri);     const char* hostname, int port, const char* request_uri);
213  void break_comma_list(char *list,  void break_comma_list(char *list,
# Line 236  int process_cgi_header(request * req); Line 237  int process_cgi_header(request * req);
237  /* pipe */  /* pipe */
238  int read_from_pipe(request * req);  int read_from_pipe(request * req);
239  int write_from_pipe(request * req);  int write_from_pipe(request * req);
240    int io_shuffle(request * req);
241    #ifdef HAVE_SENDFILE
242    #include <sys/sendfile.h>
243    int io_shuffle_sendfile(request *req);
244    #endif
245    
246  /* ip */  /* ip */
247  int bind_server(int server_s, char *ip, int port);  int bind_server(int server_s, char *ip, int port);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26