acnet_trunk_node_exists_in_db_c
status.i4.v = acnet_trunk_node_exists_in_db_c(node.i4.v
[,node_name.i1a.r]
[,db_status.i4.r])
This routine determines if an ACNET trunk and node exists
in the database. A value of NULL can be passed for returned
arguments which are not needed.
node ACNET trunk and node to check for
(constants are in 'nodedefs')
[node_name] returned corresponding null terminated node name
(allow NODE_NAME_LEN + 1 characters)
[db_status] returned ACNET status of node database access
This function returns ACNET status values as follows:
TRUE trunk and node exists in the database
FALSE trunk and node does not exist in the database
This function requires the following include files:
cnsparam_h, cbslib_h, nodedefs_h, acnet_errors_h
Related functions:
acnet_node_name_exists_in_db, acnet_node_ip_address_c,
ip_address_to_acnet_node, ip_address_to_matching_acnet_node,
node_info_db, front_end_type_c, is_front_end_node_c, node_is_up_c,
node_acnet_ping_c
C/C++ usage:
char node_name[NODE_NAME_LEN_LEN+1];
int status;
int node = MI1;
int db_status;
status = acnet_trunk_node_exists_in_db_c(node,node_name,&db_status);