Files
sics/sicsget.h
koennecke 57b6dce6bf - Added messagepipe.c
- Added initial version of sicsget. This is a more generalised way of
  reading and writing SICS data wherever it is. The thing is extendable if
  reading something the current way is to slow. This has both a C interface
  and an interpreter interface.
2013-11-07 08:42:32 +00:00

31 lines
581 B
C

/**
* This is a generalized SICS get/put routine. It tries to hard to match a name
* with the data.
*
* copyright: see file COPYRIGHT
*
*/
#ifndef __SICSGET
#define __SICSGET
#include <hipadaba.h>
/**
* Get a SICS value
* @param name The name of the value to get
* @param v The output hdbValue
* @return 1 on success, 0 on failure
*/
int sget(char *name, hdbValue *v);
/**
* Put a SICS value
* @param name The name of the value to write to
* @param v The hdbValue to write
* @return 1 on success, 0 on failure
*/
int sput(char *name, hdbValue v);
#endif