src/transport_internal.h
branchnew-transport
changeset 157 1e5674d0eec4
parent 156 6534a4ac957b
child 159 d3e253d7281a
--- 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);