Add test for uc_mbuf-copy_data

This commit is contained in:
Nils O. Selåsdal
2013-07-02 21:22:38 +02:00
parent bc65b3c421
commit 65c32810cb
3 changed files with 47 additions and 5 deletions
+1 -4
View File
@@ -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