|
ProviewR Programmer's Reference Manual
V7.0.0
|
Functions for Sevcli SEV Client interface. More...
#include "co_cdh.h"#include "co_cnf.h"#include "co_string.h"#include "co_time.h"#include "rt_qcom_msg.h"#include "rt_sev_msg.h"#include "rt_sevcli.h"#include "rt_sev_net.h"Go to the source code of this file.
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_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_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_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. | |
Functions for Sevcli SEV Client interface.
Definition in file rt_sevcli.c.