RDK Documentation (Open Sourced RDK Components)
webpa_attribute.h File Reference
#include "webpa_adapter.h"
#include <wdmp-c.h>
Include dependency graph for webpa_attribute.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void getAttributes (const char *paramName[], const unsigned int paramCount, money_trace_spans *timeSpan, AttrVal ***attr, int *retAttrCount, WAL_STATUS *retStatus)
 
void setAttributes (ParamVal params[], const unsigned int paramCount, money_trace_spans *timeSpan, const AttrVal *attr[], WDMP_STATUS **retStatus)
 setAttributes interface sets the attribute values. More...
 

yes

@description This file describes the Webpa Abstraction Layer

Definition in file webpa_attribute.h.

Function Documentation

◆ getAttributes()

void getAttributes ( const char *  paramName[],
const unsigned int  paramCount,
money_trace_spans *  timeSpan,
AttrVal ***  attr,
int *  retAttrCount,
WAL_STATUS retStatus 
)
Parameters
[in]paramNameList of Parameters.
[in]paramCountNumber of parameters.
[out]attrTwo dimentional array of attribute name/value pairs.
[out]retAttrCountList of "number of attributes" for each input paramName.
[out]retStatusList of Return status.

Definition at line 61 of file webpa_attribute.cpp.

◆ setAttributes()

void setAttributes ( ParamVal  params[],
const unsigned int  paramCount,
money_trace_spans *  timeSpan,
const AttrVal attr[],
WDMP_STATUS **  retStatus 
)

setAttributes interface sets the attribute values.

Parameters
[in]paramNameList of Parameters.
[in]paramCountNumber of parameters.
[in]attrList of attribute name/value pairs.
[out]retStatusList of Return status.

Definition at line 79 of file webpa_attribute.cpp.