nrac_consumer_remove_from_network()
Abstract
Remove a consumer entirely from the network and deallocate its memory.
Syntax
nrac_consumer_remove_from_network (net_handle, consumer_handle)
| Argument | Type | Description |
|---|---|---|
net_handle |
Nrac_Net_Handle |
handle for the network context containing the consumer to be removed |
consumer_handle |
Nrac_Consumer_Handle |
handle for the consumer object to be removed. |
Return Type
void
no return value
Header
nrac.h
Details
Unlike the other functions for removing consumers, nrac_consumer_remove_from_resource(), and nrac_consumer_remove_from_all(), this function actually removes the consumer from the network context. The handle for this consumer should no longer be used after this call. If the consumer is still associated with resources, this function first removes all of these associations. Memory resources associated with the consumer are released.