Annotation of embedaddon/lighttpd/src/connections.h, revision 1.1.1.2

1.1       misho       1: #ifndef _CONNECTIONS_H_
                      2: #define _CONNECTIONS_H_
1.1.1.2 ! misho       3: #include "first.h"
1.1       misho       4: 
                      5: #include "server.h"
                      6: #include "fdevent.h"
                      7: 
                      8: connection *connection_init(server *srv);
                      9: int connection_reset(server *srv, connection *con);
                     10: void connections_free(server *srv);
                     11: 
                     12: connection * connection_accept(server *srv, server_socket *srv_sock);
1.1.1.2 ! misho      13: connection * connection_accepted(server *srv, server_socket *srv_socket, sock_addr *cnt_addr, int cnt);
1.1       misho      14: 
                     15: int connection_set_state(server *srv, connection *con, connection_state_t state);
                     16: const char * connection_get_state(connection_state_t state);
                     17: const char * connection_get_short_state(connection_state_t state);
                     18: int connection_state_machine(server *srv, connection *con);
1.1.1.2 ! misho      19: int connection_handle_read(server *srv, connection *con);
        !            20: handler_t connection_handle_read_post_state(server *srv, connection *con);
        !            21: void connection_response_reset(server *srv, connection *con);
1.1       misho      22: 
                     23: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>