Embedded TCP/IP stack
4.7.0
|
fnet_service_desc_t fnet_service_register | ( | fnet_service_poll_t | service, |
void * | service_cookie | ||
) |
Registers the service routine in the polling list.
service | Pointer to the service-polling routine. |
service_cookie | Service-polling-routine-specific parameter. |
0
if an error occurs.This function adds the service routine into the polling list.
This function is usually called during a service initialization. User application should not call this function directly.