summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-06 00:13:13 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-06 00:13:13 +0100
commit9d49fe82fd7f57b340004f6fc62dd4509e528931 (patch)
tree3d1d38e3973cb87981098b368bf813b1286d1636 /plugin.h
parent852a5a4f11f0b4de924a49403ab864cc0584a0ad (diff)
de-constify the url parameter for the handler, it becomes invalid after the request anyway
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.h b/plugin.h
index dd73c57..7373d65 100644
--- a/plugin.h
+++ b/plugin.h
@@ -23,8 +23,8 @@ struct uhttpd_ops {
void (*dispatch_add)(struct dispatch_handler *d);
bool (*path_match)(const char *prefix, const char *url);
- bool (*create_process)(struct client *cl, struct path_info *pi, const char *url,
- void (*cb)(struct client *cl, struct path_info *pi, const char *url));
+ bool (*create_process)(struct client *cl, struct path_info *pi, char *url,
+ void (*cb)(struct client *cl, struct path_info *pi, char *url));
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, ...);