extremely small and simple HTTP GET/HEAD-only web server for static content
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
403 B

  1. /* See LICENSE file for copyright and license details. */
  2. #ifndef SOCK_H
  3. #define SOCK_H
  4. #include <stddef.h>
  5. #include <sys/socket.h>
  6. #include <sys/types.h>
  7. int sock_get_ips(const char *, const char *);
  8. void sock_rem_uds(const char *);
  9. int sock_get_uds(const char *, uid_t, gid_t);
  10. int sock_set_timeout(int, int);
  11. int sock_get_inaddr_str(struct sockaddr_storage *, char *, size_t);
  12. #endif /* SOCK_H */