2006-01-16 22:42:17 +00:00
|
|
|
#ifndef EL__PROTOCOL_COMMON_H
|
|
|
|
#define EL__PROTOCOL_COMMON_H
|
|
|
|
|
2006-01-30 00:22:31 +00:00
|
|
|
#include "network/state.h"
|
|
|
|
|
2020-10-05 18:14:55 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-04-21 10:27:40 +00:00
|
|
|
struct string;
|
2006-01-30 00:22:31 +00:00
|
|
|
struct uri;
|
|
|
|
|
2006-01-16 22:42:17 +00:00
|
|
|
/* Close all non-terminal file descriptors. */
|
|
|
|
void close_all_non_term_fd(void);
|
|
|
|
|
2008-08-03 12:24:26 +00:00
|
|
|
struct connection_state
|
2019-04-21 10:27:40 +00:00
|
|
|
init_directory_listing(struct string *page, struct uri *uri);
|
2006-01-30 00:22:31 +00:00
|
|
|
|
2020-10-05 18:14:55 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-01-16 22:42:17 +00:00
|
|
|
#endif
|