Contiki 3.x
Functions
servreg-hack.h File Reference

    Header file for the servreg-hack application
More...

#include "contiki-conf.h"
#include "net/ip/uip.h"

Go to the source code of this file.

Functions

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

Detailed Description

    Header file for the servreg-hack application
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file servreg-hack.h.