Skip to content
Snippets Groups Projects
Commit 08a15b39 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

pkg ccn-lite: update documentation

parent d3ddbf32
No related branches found
No related tags found
No related merge requests found
...@@ -176,7 +176,15 @@ int ccnl_send_interest(int suite, char *name, unsigned int *chunknum, ...@@ -176,7 +176,15 @@ int ccnl_send_interest(int suite, char *name, unsigned int *chunknum,
unsigned char *buf, size_t buf_len); unsigned char *buf, size_t buf_len);
/** /**
* @brief Waits for incoming content chunk * @brief Wait for incoming content chunk
*
* @pre The thread has to register for CCNL_CONT_CHUNK in @ref netreg first
*
* @post The thread should unregister from @ref netreg after this function returns
*
* @param[out] buf Buffer to stores the received content
* @param[in] buf_len Size of @p buf
* @param[in] timeout Maximum to wait for the chunk, set to a default value if 0
* *
* @return 0 if a content was received * @return 0 if a content was received
* @return -ETIMEDOUT if no chunk was received until timeout * @return -ETIMEDOUT if no chunk was received until timeout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment