63 #ifndef SERVREG_HACK_H
64 #define SERVREG_HACK_H
66 #include "contiki-conf.h"
69 typedef uint8_t servreg_hack_id_t;
70 typedef void servreg_hack_item_t;
uip_ipaddr_t * servreg_hack_lookup(servreg_hack_id_t id)
Get the IP address of a node offering a service.
void servreg_hack_init(void)
Initialize and start the servreg-hack application.
Header file for the uIP TCP/IP stack.
servreg_hack_id_t servreg_hack_item_id(servreg_hack_item_t *item)
Get the service ID for a list item.
servreg_hack_item_t * servreg_hack_list_head(void)
Obtain the list of services provided by neighbors.
uip_ipaddr_t * servreg_hack_item_address(servreg_hack_item_t *item)
Get the IP address for a list item.
void servreg_hack_register(servreg_hack_id_t id, const uip_ipaddr_t *addr)
Register that this node provides a service.