--- a/src/line_proto.h Sat Feb 28 20:23:37 2009 +0200
+++ b/src/line_proto.h Sat Feb 28 21:39:15 2009 +0200
@@ -15,7 +15,7 @@
/*
* The callback for receiving lines
*/
-typedef void (*line_proto_read_cb)(const char *line, void *arg);
+typedef void (*line_proto_read_cb)(char *line, void *arg);
/*
* Create a new line_proto off the the given sock_stream. The newly allocated line_proto will be returned via *lp_ptr.
@@ -32,7 +32,7 @@
* returned via *line_ptr, and we return SUCCESS. If we don't yet have a full line, and receiving more would block,
* NULL is returned via *line_ptr instead. Otherwise, nonzero error return code.
*/
-err_t line_proto_read (struct line_proto *lp, const char **line_ptr);
+err_t line_proto_read (struct line_proto *lp, char **line_ptr);
/*
* Signify that the line read with line_proto_read() was handled and can be discarded