20 #ifndef included_api_types_h 21 #define included_api_types_h 24 #include <arpa/inet.h> int vl_api_to_api_string(u32 len, const char *buf, vl_api_string_t *str)
int vl_api_vec_to_api_string(const u8 *vec, vl_api_string_t *str)
Optimized string handling code, including c11-compliant "safe C library" variants.
u8 * vl_api_from_api_string(vl_api_string_t *astr)
u8 * vl_api_from_api_to_vec(vl_api_string_t *astr)
u32 vl_api_string_len(vl_api_string_t *astr)