summaryrefslogtreecommitdiffstats
path: root/src/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h
index 7d6d403..9da9340 100644
--- a/src/core.h
+++ b/src/core.h
@@ -29,6 +29,7 @@ enum tip_client_state {
enum tip_http_method {
TIP_METHOD_GET = 0,
TIP_METHOD_HEAD,
+ TIP_METHOD_POST,
};
struct tip_client {
@@ -69,6 +70,8 @@ static inline bool tip_client_large_file(const struct tip_client *cli)
void tip_client_pending(struct tip_client *cli);
bool tip_client_redirect(struct tip_client *cli);
+int tip_client_redirect_create(const struct tip_client *cli);
+void tip_client_activate_pending(void);
extern struct ev_loop *tip_main_loop;