LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wpabuf.h File Reference

Go to the source code of this file.

Data Structures

struct  wpabuf
 

Functions

int wpabuf_resize (struct wpabuf **buf, size_t add_len)
 
struct wpabufwpabuf_alloc (size_t len)
 
struct wpabufwpabuf_alloc_ext_data (u8 *data, size_t len)
 
struct wpabufwpabuf_alloc_copy (const void *data, size_t len)
 
struct wpabufwpabuf_dup (const struct wpabuf *src)
 
void wpabuf_free (struct wpabuf *buf)
 
void * wpabuf_put (struct wpabuf *buf, size_t len)
 
struct wpabufwpabuf_concat (struct wpabuf *a, struct wpabuf *b)
 
struct wpabufwpabuf_zeropad (struct wpabuf *buf, size_t len)
 
void wpabuf_printf (struct wpabuf *buf, char *fmt,...) PRINTF_FORMAT(2
 

Function Documentation

struct wpabuf* wpabuf_alloc ( size_t  len)
struct wpabuf* wpabuf_alloc_copy ( const void *  data,
size_t  len 
)
struct wpabuf* wpabuf_alloc_ext_data ( u8 data,
size_t  len 
)
struct wpabuf* wpabuf_concat ( struct wpabuf a,
struct wpabuf b 
)
struct wpabuf* wpabuf_dup ( const struct wpabuf src)
void wpabuf_free ( struct wpabuf buf)
void wpabuf_printf ( struct wpabuf buf,
char *  fmt,
  ... 
)
void* wpabuf_put ( struct wpabuf buf,
size_t  len 
)
int wpabuf_resize ( struct wpabuf **  buf,
size_t  add_len 
)
struct wpabuf* wpabuf_zeropad ( struct wpabuf buf,
size_t  len 
)