Contiki 2.5
Data Structures | Functions
registration.h File Reference

Handle Service Registrations. More...

#include <stdint.h>
#include "contiki.h"
#include "lib/list.h"

Go to the source code of this file.

Data Structures

struct  registration
 structure of registration More...
 

Functions

void registration_init (void)
 called by agent at startup
 
int registration_new_application (uint32_t app_id, struct process *application_process, uint32_t node_id)
 registers a new service More...
 
void registration_remove_application (uint32_t app_id, uint32_t node_id)
 deletes registration of service More...
 
int registration_set_active (uint32_t app_id, uint32_t node_id)
 sets state of service active More...
 
int registration_set_passive (uint32_t app_id, uint32_t node_id)
 sets state of service passive More...
 
int registration_return_status (uint32_t app_id, uint32_t node_id)
 Returns the status of a registred service. More...
 
struct process * registration_get_process (uint32_t app_id, uint32_t node_id)
 returns the process struct for a specific registration More...
 
uint32_t registration_get_application_id (struct process *application_process)
 provides the endpoint id of a registred process (if any) More...
 
uint8_t registration_is_local (uint32_t app_id, uint32_t node_id)
 Checks whether the bundle is for a local process. More...
 

Detailed Description

Handle Service Registrations.

Author
Georg von Zengen vonze.nosp@m.ng@i.nosp@m.br.cs.nosp@m..tu-.nosp@m.bs.de

Definition in file registration.h.