Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
generator: it doesn't actually rely on descrption
Browse files Browse the repository at this point in the history
The generator tool doesn't actually rely on description, this patch
removes the dependency and adjust the only real requirement, the
SOL_FLOW_NODE_PORT_ERROR_NAME ("ERROR") macro.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
  • Loading branch information
Leandro Dorileo committed Sep 28, 2015
1 parent 79ab6c6 commit dda987e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/bin/sol-fbp-generator/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
config FBP_GENERATOR
bool "fbp generator"
depends on NODE_DESCRIPTION
default y
3 changes: 2 additions & 1 deletion src/lib/flow/include/sol-flow.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,15 @@ void sol_flow_node_named_options_fini(struct sol_flow_node_named_options *named_

#include "sol-flow-buildopts.h"

#define SOL_FLOW_NODE_PORT_ERROR_NAME ("ERROR")

#ifdef SOL_FLOW_NODE_TYPE_DESCRIPTION_ENABLED
/* A node type description provides more information about a node
* type, such as textual description, name, URL, version, author as
* well as ports and options meta information.
*/

struct sol_flow_port_description {
#define SOL_FLOW_NODE_PORT_ERROR_NAME ("ERROR")
const char *name; /**< port's name */
const char *description; /**< port's description */
const char *data_type; /**< textual representation of the port's accepted packet data type(s), e. g. "int" */
Expand Down

0 comments on commit dda987e

Please sign in to comment.