2 * http_server - HTTP server
3 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
20 struct http_server * http_server_init(struct in_addr *addr, int port,
21 void (*cb)(void *ctx, int fd,
22 struct sockaddr_in *addr),
24 void http_server_deinit(struct http_server *srv);
25 int http_server_get_port(struct http_server *srv);
27 #endif /* HTTP_SERVER_H */