N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/Vaike/linux/system-addons/system/soap/sensor_app.h File Reference

Nearly-meta programming template. More...

#include <minisoap.h>

Go to the source code of this file.

Functions

SoapDataType consume (const char *appname, unsigned char data[], size_t *bytes)
void produce (SoapDataType type, unsigned char data[], size_t bytes)


Detailed Description

Nearly-meta programming template.

Revision
1.1

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: February 8, 2006

Date
2008/02/03 22:00:56

Definition in file sensor_app.h.


Function Documentation

SoapDataType consume const char *  appname,
unsigned char  data[],
size_t *  bytes
 

Definition at line 55 of file sensor_app.c.

References _soap_event::data_type, format, _soap_event::from, Invalid_Type, ipc_cmd_send(), ipc_data_recv(), _soap_event::msg, my_ip_addr, and NET_ADDR_LEN.

void produce SoapDataType  type,
unsigned char  data[],
size_t  bytes
 

Definition at line 91 of file sensor_app.c.

References _soap_event::data_type, EVENT_DATA_LEN, Event_Msg, _soap_event::from, _soap_event::from_app, _soap_event::msg, my_app, my_ip_addr, NET_ADDR_LEN, PATH_MAX, _soap_event::time, _soap_event::to, _soap_event::to_app, and _soap_event::type.


© 2007, Los Alamos National Security, LLC.