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.
 
 
 

15 lines
341 B

  1. /* See LICENSE file for copyright and license details. */
  2. #ifndef RESP_H
  3. #define RESP_H
  4. #include <sys/stat.h>
  5. #include <sys/types.h>
  6. #include "http.h"
  7. enum status resp_dir(int, char *, struct request *);
  8. enum status resp_file(int, char *, struct request *, struct stat *, char *,
  9. off_t, off_t);
  10. #endif /* RESP_H */