- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
24
varlog.h
24
varlog.h
@ -13,21 +13,21 @@
|
||||
#define SICSVARLOG
|
||||
#include <time.h>
|
||||
|
||||
/*---------------------------- birth and death ----------------------------*/
|
||||
typedef struct __VarLog *pVarLog;
|
||||
/*---------------------------- birth and death ----------------------------*/
|
||||
typedef struct __VarLog *pVarLog;
|
||||
|
||||
int VarlogInit(pVarLog *self);
|
||||
int VarlogDelete(pVarLog self);
|
||||
int VarlogInit(pVarLog * self);
|
||||
int VarlogDelete(pVarLog self);
|
||||
/*----------------------------- operation -------------------------------*/
|
||||
int VarlogClear(pVarLog self);
|
||||
int VarlogAdd(pVarLog self, float fVal);
|
||||
int VarlogClear(pVarLog self);
|
||||
int VarlogAdd(pVarLog self, float fVal);
|
||||
/*------------------------------ data recovery -------------------------*/
|
||||
int VarlogLength(pVarLog self, int *iLength);
|
||||
int VarlogGetTime(pVarLog self, time_t *tTime);
|
||||
int VarlogGetVal(pVarLog self, float *fValues);
|
||||
int VarlogGetMean(pVarLog self, float *fMean, float *fStdDev);
|
||||
int VarlogLength(pVarLog self, int *iLength);
|
||||
int VarlogGetTime(pVarLog self, time_t * tTime);
|
||||
int VarlogGetVal(pVarLog self, float *fValues);
|
||||
int VarlogGetMean(pVarLog self, float *fMean, float *fStdDev);
|
||||
/*------------------------------ interpreter ---------------------------*/
|
||||
int VarlogWrapper(pVarLog self,SConnection *pCon,
|
||||
char *subcommand, char *sub2,char *pVarName);
|
||||
int VarlogWrapper(pVarLog self, SConnection * pCon,
|
||||
char *subcommand, char *sub2, char *pVarName);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user