aboutsummaryrefslogtreecommitdiff
path: root/plugins/http.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-09-18 23:41:07 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-09-19 01:02:26 +0200
commit4662e84995cf9570c18361f6686bf5964fd86cba (patch)
tree71075baf2dd4b7ac59a7384774d491d680db7e67 /plugins/http.c
parent64fa986cd089b60ef5da72cfa149813041011537 (diff)
downloadponymap-4662e84995cf9570c18361f6686bf5964fd86cba.tar.gz
ponymap-4662e84995cf9570c18361f6686bf5964fd86cba.tar.xz
ponymap-4662e84995cf9570c18361f6686bf5964fd86cba.zip
First set of fixes
There are still some problems but at least it does something now.
Diffstat (limited to 'plugins/http.c')
-rw-r--r--plugins/http.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/plugins/http.c b/plugins/http.c
index d037326..2b16462 100644
--- a/plugins/http.c
+++ b/plugins/http.c
@@ -49,24 +49,6 @@ on_data (void *handle, struct unit *u, struct str *data)
// TODO
}
-static void
-on_eof (void *handle, struct unit *u)
-{
- // TODO
-}
-
-static void
-on_error (void *handle, struct unit *u)
-{
- // TODO
-}
-
-static void
-on_aborted (void *handle, struct unit *u)
-{
- // TODO
-}
-
static struct service g_http_service =
{
.name = "HTTP",
@@ -75,9 +57,9 @@ static struct service g_http_service =
.scan_init = scan_init,
.scan_free = scan_free,
.on_data = on_data,
- .on_eof = on_eof,
- .on_error = on_error,
- .on_aborted = on_aborted
+ .on_eof = NULL,
+ .on_error = NULL,
+ .on_aborted = NULL
};
static bool