diff -r 51678c7eae03 -r 40f7aa051acb src/line_proto.h --- a/src/line_proto.h Thu Mar 12 20:00:48 2009 +0200 +++ b/src/line_proto.h Thu Mar 12 21:12:48 2009 +0200 @@ -30,10 +30,12 @@ * * The incoming lines are buffered in a buffer of \a buf_size bytes. This imposes a maximum limit on the line length. * + * Note that the given callbacks struct is copied. + * * @param lp_ptr a pointer to the new line_proto will be returned via this pointer * @param sock the sock_stream to use * @param buf_size the incoming/outgoing buffer size, should be enough to hold the biggest possible line - * @param callbacks the callback struct to use + * @param callbacks the callbacks to use, a copy is stored * @param cb_arg the read_cb callback argument * @param err error information is returned via this pointer */