void* GetNetUserData_bn ( const net_bn*  net,   int  kind )

Returns a pointer to information previously attached to net using SetNetUserData_bn, or NULL if none has been attached.

This information is understood only by the program using the Netica API. It may point to whatever is desired, possibly a large structure with many fields. It is not saved to file with net (for that see GetNetUserField_bn).

Pass 0 for kind. It is only for future expansion.

Version:

This function is available in all versions.

See also:

SetNetUserData_bn    Sets it
GetNetUserField_bn    Named field (attribute-value) data, which gets saved to file with net
GetNodeUserData_bn    Retrieve the user pointer attached to a particular node