Microchip® Advanced Software Framework

    Header file for the servreg-hack application
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "contiki-conf.h"
#include "net/ip/uip.h"

Typedefs

typedef uint8_t servreg_hack_id_t
 
typedef void servreg_hack_item_t
 

Functions

void servreg_hack_init (void)
 Initialize and start the servreg-hack application. More...
 
uip_ipaddr_tservreg_hack_item_address (servreg_hack_item_t *item)
 Get the IP address for a list item. More...
 
servreg_hack_id_t servreg_hack_item_id (servreg_hack_item_t *item)
 Get the service ID for a list item. More...
 
servreg_hack_item_tservreg_hack_list_head (void)
 Obtain the list of services provided by neighbors. More...
 
uip_ipaddr_tservreg_hack_lookup (servreg_hack_id_t service_id)
 Get the IP address of a node offering a service. More...
 
void servreg_hack_register (servreg_hack_id_t service_id, const uip_ipaddr_t *addr)
 Register that this node provides a service. More...