"Fossies" - the Fresh Open Source Software Archive

Member "darkstat-3.0.721/http.h" (12 Jan 2022, 505 Bytes) of package /linux/privat/darkstat-3.0.721.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "http.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.0.719_vs_3.0.721.

    1 /* darkstat 3
    2  * copyright (c) 2001-2016 Emil Mikulic.
    3  *
    4  * http.h: embedded webserver.
    5  */
    6 
    7 #include <sys/time.h>
    8 #include <sys/select.h>
    9 
   10 void http_init_base(const char *url);
   11 void http_add_bindaddr(const char *bindaddr);
   12 void http_listen(const unsigned short bindport);
   13 void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
   14    struct timeval *timeout, int *need_timeout);
   15 void http_poll(fd_set *read_set, fd_set *write_set);
   16 void http_stop(void);
   17 
   18 /* vim:set ts=3 sw=3 tw=78 expandtab: */