summaryrefslogtreecommitdiffstats
path: root/src/vlibapi
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-03-01 08:55:49 +0100
committerOle Trøan <otroan@employees.org>2019-03-15 10:24:22 +0000
commite63325e3ca03c847963863446345e6c80a2c0cfd (patch)
treecae33764e6186727697e91862c32f2b08334866b /src/vlibapi
parent4ba4edd15085ce31145ef5da6342e435c57c1150 (diff)
API: Cleanup APIs interface.api
Use of consistent API types for interface.api Change-Id: Ieb54cebb4ac96b432a3f0b41596718aa2f34885b Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vlibapi')
-rw-r--r--src/vlibapi/api_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlibapi/api_types.h b/src/vlibapi/api_types.h
index 406ccfa6745..c4d8f3bd060 100644
--- 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
+#include <stdbool.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 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)
{