--- a/src/transport_internal.h Tue Apr 28 22:08:59 2009 +0300
+++ b/src/transport_internal.h Tue Apr 28 22:36:36 2009 +0300
@@ -74,6 +74,9 @@
/**
* Bind the given transport to the given type with the given user info.
*
+ * \a info may be given as NULL to not have any callbacks, but this will crash if any transport_* is called before
+ * transport_set_callbacks().
+ *
* It is a bug to call this with a transport that is already bound.
*/
void transport_init (transport_t *transport, const struct transport_type *type, const struct transport_info *info);