ProviewR Programmer's Reference Manual  V7.0.0
Classes | Functions
rt_sevcli.h File Reference

Include file for Sevcli SEV Client interface. More...

#include "rt_qcom.h"
#include "rt_mh_net.h"

Go to the source code of this file.

Classes

struct  sevcli_sCtx
 
struct  sevcli_sHistAttr
 
struct  sevcli_sHistItem
 

Functions

int sevcli_init (pwr_tStatus *sts, sevcli_tCtx *ctx)
 Initialization of the client. Creates a context and opens a Qcom queue for the communication. The function returns a context that is used in all subsequent sevcli calls. More...
 
int sevcli_close (pwr_tStatus *sts, sevcli_tCtx ctx)
 Close the communication. Removes the Qcom queue and frees the context. More...
 
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 with. The server is stated with node identity.
 
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 with. The server is stated with node name. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void sevcli_store_ctx (sevcli_tCtx ctx)
 Store context.
 
sevcli_tCtx sevcli_get_stored_ctx (void)
 Get stored context.
 

Detailed Description

Include file for Sevcli SEV Client interface.

Definition in file rt_sevcli.h.