50 #include "rt_mh_net.h"
104 } sevcli_sEventsItem;
132 char* aname, pwr_tTime starttime, pwr_tTime endtime,
int numpoints,
133 pwr_tTime** tbuf,
void** vbuf,
int* rows, pwr_eType* vtype,
134 unsigned int* vsize);
138 char* aname, pwr_tTime starttime, pwr_tTime endtime,
int numpoints,
142 sevcli_sEventsItem** list,
unsigned int* cnt);
144 pwr_tTime starttime, pwr_tTime endtime,
pwr_tUInt32 eventtypemask,
146 unsigned int maxevents, sevcli_sEvents **list,
unsigned int* cnt);
int sevcli_get_itemdata(pwr_tStatus *sts, sevcli_tCtx ctx, pwr_tOid oid, char *aname, pwr_tTime starttime, pwr_tTime endtime, int numpoints, pwr_tTime **tbuf, void **vbuf, int *rows, pwr_eType *vtype, unsigned int *vsize)
Fetch stored historical data for an attribute.
int sevcli_get_events(pwr_tStatus *sts, sevcli_tCtx ctx, pwr_tOid oid, pwr_tTime starttime, pwr_tTime endtime, pwr_tUInt32 eventtypemask, pwr_tUInt32 eventpriomask, pwr_tString80 eventtext, pwr_tOName eventname, unsigned int maxevents, sevcli_sEvents **list, unsigned int *cnt)
Fetch stored historical events for an events item.
int sevcli_set_servernode(pwr_tStatus *sts, sevcli_tCtx ctx, char *nodename)
Set server from node name. This function is called to state which server node you want to communicate...
int sevcli_init(pwr_tStatus *sts, sevcli_tCtx *ctx)
Initialization of the client. Creates a context and opens a Qcom queue for the communication....
void sevcli_store_ctx(sevcli_tCtx ctx)
Store context.
int sevcli_delete_item(pwr_tStatus *sts, sevcli_tCtx ctx, pwr_tOid oid, char *aname)
Removes all data for a stored attribute in the storage database.
int sevcli_get_eventsitemlist(pwr_tStatus *sts, sevcli_tCtx ctx, sevcli_sEventsItem **list, unsigned int *cnt)
Fetches a list with the stored eventlists of the server.
int sevcli_close(pwr_tStatus *sts, sevcli_tCtx ctx)
Close the communication. Removes the Qcom queue and frees the context.
void sevcli_set_servernid(sevcli_tCtx ctx, pwr_tNid nid)
Set server from node id. This function is called to state which server node you want to communicate w...
sevcli_tCtx sevcli_get_stored_ctx(void)
Get stored context.
int sevcli_get_objectitemdata(pwr_tStatus *sts, sevcli_tCtx ctx, pwr_tOid oid, char *aname, pwr_tTime starttime, pwr_tTime endtime, int numpoints, pwr_tTime **tbuf, void **vbuf, int *rows, sevcli_sHistAttr **histattr, int *numattributes)
Fetch stored historical data for an object item.
int sevcli_get_itemlist(pwr_tStatus *sts, sevcli_tCtx ctx, sevcli_sHistItem **list, unsigned int *cnt)
Fetches a list with the stored attributes of the server.
unsigned int pwr_tUInt32
32-bit unsigned integer type.
char pwr_tAName[399+1]
Full Aref Name type.
char pwr_tString80[80]
80 byte string type.
int pwr_tStatus
Status type.
char pwr_tOName[199+1]
Full Object Name type.
char pwr_tString16[16]
16 byte string type.
pwr_tVolumeId pwr_tNid
Node identity type.
pwr_tUInt32 pwr_tMask
Mask type.
float pwr_tFloat32
32-bit float.
Include file for QCOM Queue Communication.
pwr_tString80 description
pwr_tDeltaTime storagetime