ccdb51b96d
And many other things, too many to list here. For example, it now properly logs uds instead of erroring out. Separating concerns in many places definitely improves the readability.
14 lines
341 B
C
14 lines
341 B
C
/* See LICENSE file for copyright and license details. */
|
|
#ifndef RESP_H
|
|
#define RESP_H
|
|
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
|
|
#include "http.h"
|
|
|
|
enum status resp_dir(int, char *, struct request *);
|
|
enum status resp_file(int, char *, struct request *, struct stat *, char *,
|
|
off_t, off_t);
|
|
|
|
#endif /* RESP_H */
|