Contiki 2.5
Functions
registration.c File Reference
#include <stdio.h>
#include <string.h>
#include "lib/memb.h"
#include "lib/list.h"
#include "logging.h"
#include "api.h"
#include "agent.h"
#include "registration.h"

Go to the source code of this file.

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...
 
struct process * registration_get_process (uint32_t app_id, uint32_t node_id)
 returns the process struct for a specific registration 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...
 
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

Author
Georg von Zengen vonze.nosp@m.ng@i.nosp@m.br.cs.nosp@m..tu-.nosp@m.bs.de
Wolf-Bastian Poettner poett.nosp@m.ner@.nosp@m.ibr.c.nosp@m.s.tu.nosp@m.-bs.d.nosp@m.e

Definition in file registration.c.