doc: networking: buf: Add mentions of net_buf_add_mem & net_buf_pull_mem
These are APIs that were added after this part of the documentation was originally created. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
63b349f1e0
commit
8aba2d51e7
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ Add
|
|||
.. code-block:: c
|
||||
|
||||
void *net_buf_add(struct net_buf *buf, size_t len);
|
||||
void *net_buf_add_mem(struct net_buf *buf, const void *mem, size_t len);
|
||||
u8_t *net_buf_add_u8(struct net_buf *buf, u8_t value);
|
||||
void net_buf_add_le16(struct net_buf *buf, u16_t value);
|
||||
void net_buf_add_le32(struct net_buf *buf, u32_t value);
|
||||
|
@ -99,6 +100,7 @@ Pull
|
|||
.. code-block:: c
|
||||
|
||||
void *net_buf_pull(struct net_buf *buf, size_t len);
|
||||
void *net_buf_pull_mem(struct net_buf *buf, size_t len);
|
||||
u8_t net_buf_pull_u8(struct net_buf *buf);
|
||||
u16_t net_buf_pull_le16(struct net_buf *buf);
|
||||
u32_t net_buf_pull_le32(struct net_buf *buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue