Document struct netvector

This commit is contained in:
goldsimon 2017-04-20 22:00:07 +02:00
parent 131d656c23
commit b93572dca8

View File

@ -270,8 +270,15 @@ struct netconn {
netconn_callback callback;
};
/** This vector type is passed to @ref netconn_write_vectors_partly to send
* multiple buffers at once.
* ATTENTION: This type has to directly map @ref struct iovec since one is casted
* into the other!
*/
struct netvector {
/** pointer to the application buffer that contains the data to send */
const void *ptr;
/** size of the application data to send */
size_t len;
};