Skip to content

ibv_node_type_str()

Contents

0.00 avg. rating (0% score) - 0 votes
const char *ibv_node_type_str(enum ibv_node_type node_type);

Description

ibv_node_type_str() returns a string that describes a node type enumerated value.

Parameters

Name Direction Description
node_type in The node type that its string description is requested

Return Values

Value Description
On success A string that describes the node type
On error The string "unknown". If node_type isn't a valid node type value

Examples

Print a description of a node type enumerated value:

const char *descr;
 
descr = ibv_node_type_str(IBV_NODE_CA);
 
printf("The description of the enumerated value %d is %s\n", IBV_NODE_CA,
       descr);

Share Our Posts

Share this post through social bookmarks.

  • Delicious
  • Digg
  • Newsvine
  • RSS
  • StumbleUpon
  • Technorati

Comments

Tell us what do you think.

There are no comments on this entry.

Add a Comment

This comment will be moderated; answer may be provided within 14 days.

Time limit is exhausted. Please reload CAPTCHA.