
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
31 lines
581 B
C
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
|
|
|