projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d49fe8
)
export uh_request_done to plugins
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Jan 2013 00:42:57 +0000
(
01:42
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Jan 2013 00:42:57 +0000
(
01:42
+0100)
plugin.c
patch
|
blob
|
history
plugin.h
patch
|
blob
|
history
diff --git
a/plugin.c
b/plugin.c
index
25a8464
..
6a89761
100644
(file)
--- a/
plugin.c
+++ b/
plugin.c
@@
-27,6
+27,7
@@
static const struct uhttpd_ops ops = {
.create_process = uh_create_process,
.get_process_vars = uh_get_process_vars,
.client_error = uh_client_error,
.create_process = uh_create_process,
.get_process_vars = uh_get_process_vars,
.client_error = uh_client_error,
+ .request_done = uh_request_done,
.chunk_write = uh_chunk_write,
.urlencode = uh_urlencode,
.urldecode = uh_urldecode,
.chunk_write = uh_chunk_write,
.urlencode = uh_urlencode,
.urldecode = uh_urldecode,
diff --git
a/plugin.h
b/plugin.h
index
7373d65
..
1025161
100644
(file)
--- a/
plugin.h
+++ b/
plugin.h
@@
-28,6
+28,7
@@
struct uhttpd_ops {
struct env_var *(*get_process_vars)(struct client *cl, struct path_info *pi);
void (*client_error)(struct client *cl, int code, const char *summary, const char *fmt, ...);
struct env_var *(*get_process_vars)(struct client *cl, struct path_info *pi);
void (*client_error)(struct client *cl, int code, const char *summary, const char *fmt, ...);
+ void (*request_done)(struct client *cl);
void (*chunk_write)(struct client *cl, const void *data, int len);
int (*urlencode)(char *buf, int blen, const char *src, int slen);
void (*chunk_write)(struct client *cl, const void *data, int len);
int (*urlencode)(char *buf, int blen, const char *src, int slen);