X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_cmdline%2Fcmdline_parse_portlist.h;h=058df3eefdb11275d6ef2d68f32e27d9c044c17c;hb=5fbb3941da9f;hp=6fdc406abaced486d6d217e10ab6eddf200abf72;hpb=3031749c2df04a63cdcef186dcce3781e61436e8;p=dpdk.git diff --git a/lib/librte_cmdline/cmdline_parse_portlist.h b/lib/librte_cmdline/cmdline_parse_portlist.h index 6fdc406aba..058df3eefd 100644 --- a/lib/librte_cmdline/cmdline_parse_portlist.h +++ b/lib/librte_cmdline/cmdline_parse_portlist.h @@ -61,6 +61,9 @@ #ifndef _PARSE_PORTLIST_H_ #define _PARSE_PORTLIST_H_ +#include +#include + #ifdef __cplusplus extern "C" { #endif @@ -81,9 +84,9 @@ typedef struct cmdline_token_portlist cmdline_parse_token_portlist_t; extern struct cmdline_token_ops cmdline_token_portlist_ops; int cmdline_parse_portlist(cmdline_parse_token_hdr_t *tk, - const char *srcbuf, void *res); + const char *srcbuf, void *res, unsigned ressize); int cmdline_get_help_portlist(cmdline_parse_token_hdr_t *tk, - char *dstbuf, unsigned int size); + char *dstbuf, unsigned int size); #define TOKEN_PORTLIST_INITIALIZER(structure, field) \ { \