26 #ifndef _FNET_SERVICE_H_ 28 #define _FNET_SERVICE_H_ 30 #include "serial/fnet_serial.h" 31 #include "shell/fnet_shell.h" 32 #include "sntp/fnet_sntp.h" 33 #include "telnet/fnet_telnet.h" 34 #include "tftp/fnet_tftp_cln.h" 35 #include "tftp/fnet_tftp_srv.h" 36 #include "dhcp/fnet_dhcp_cln.h" 37 #include "dhcp/fnet_dhcp_srv.h" 38 #include "flash/fnet_flash.h" 39 #include "fs/fnet_fs.h" 40 #include "fs/fnet_fs_rom.h" 41 #include "tls/fnet_tls.h" 42 #include "http/fnet_http.h" 43 #include "dns/fnet_dns.h" 44 #include "ping/fnet_ping.h" 45 #include "llmnr/fnet_llmnr.h" 46 #include "mdns/fnet_mdns.h" 47 #include "autoip/fnet_autoip.h" 48 #include "link/fnet_link.h" 49 #include "tls/fnet_tls.h" 50 #include "bench/fnet_bench_srv.h" 51 #include "bench/fnet_bench_cln.h" 82 #if defined(__cplusplus) 142 #if defined(__cplusplus) void(* fnet_service_poll_t)(void *service_cookie)
Service callback function prototype.
fnet_service_desc_t fnet_service_register(fnet_service_poll_t service, void *service_cookie)
Registers the service routine in the polling list.
void * fnet_service_desc_t
Descriptor of a registered service.
void fnet_service_poll(void)
Service polling function.
void fnet_service_unregister(fnet_service_desc_t desc)
Unregisters the service routine.