Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
API: Cleanup APIs interface.api
[vpp.git]
/
src
/
vlibapi
/
api_types.h
diff --git
a/src/vlibapi/api_types.h
b/src/vlibapi/api_types.h
index
406ccfa
..
c4d8f3b
100644
(file)
--- a/
src/vlibapi/api_types.h
+++ b/
src/vlibapi/api_types.h
@@
-20,6
+20,8
@@
#ifndef included_api_types_h
#define included_api_types_h
#ifndef included_api_types_h
#define included_api_types_h
+#include <stdbool.h>
+
#include <vppinfra/types.h>
#include <arpa/inet.h>
#include <string.h>
#include <vppinfra/types.h>
#include <arpa/inet.h>
#include <string.h>
@@
-39,7
+41,7
@@
vl_api_to_api_string (u32 len, const char *buf, vl_api_string_t * str)
return len + sizeof (u32);
}
return len + sizeof (u32);
}
-/* Return a pointer to the API string (not nul terminated */
+/* Return a pointer to the API string (not nul terminated
)
*/
static inline u8 *
vl_api_from_api_string (vl_api_string_t * astr)
{
static inline u8 *
vl_api_from_api_string (vl_api_string_t * astr)
{