Add test for uc_mbuf-copy_data
This commit is contained in:
@@ -43,7 +43,7 @@ struct MBuf *uc_mbuf_new_inline_hr(uint32_t len, uint32_t headroom);
|
||||
#define uc_mbuf_new_inline(len) uc_mbuf_new_inline_hr((len), 0)
|
||||
|
||||
void uc_mbuf_free(struct MBuf *mbuf);
|
||||
struct MBuf *uc_mbuf_copy(struct MBuf *mbuf);
|
||||
struct MBuf *uc_mbuf_copy_data(struct MBuf *mbuf);
|
||||
|
||||
void uc_mbuf_init(struct MBuf *mbuf, uint8_t *buf, uint32_t len, uint32_t headroom, uint32_t flags);
|
||||
void uc_mbuf_zero(struct MBuf *mbuf);
|
||||
@@ -70,9 +70,6 @@ uint8_t *uc_mbuf_push(struct MBuf *mbuf, uint32_t size);
|
||||
|
||||
uint8_t *uc_mbuf_pull(struct MBuf *mbuf, uint32_t size);
|
||||
|
||||
struct MBuf *uc_uc_mbuf_new_hr(uint32_t len, uint32_t headroom);
|
||||
struct MBuf *uc_uc_mbuf_new_inline_hr(uint32_t len, uint32_t headroom);
|
||||
|
||||
#undef UC_INLINE
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user