cstatevariable.c File Reference

#include <cybergarage/upnp/cstatevariable.h>
#include <cybergarage/upnp/cservice.h>
#include <cybergarage/util/clog.h>

Functions

CgUpnpStateVariablecg_upnp_statevariable_new ()
void cg_upnp_statevariable_delete (CgUpnpStateVariable *statVar)
void cg_upnp_statevariable_setstatevariablenode (CgUpnpStateVariable *statVar, CgXmlNode *node)
static void cg_upnp_statevariable_setvaluewithnotify (CgUpnpStateVariable *statVar, char *data, BOOL doNotify)
void cg_upnp_statevariable_setvalue (CgUpnpStateVariable *statVar, char *data)
void cg_upnp_statevariable_setvaluewithoutnotify (CgUpnpStateVariable *statVar, char *data)

Function Documentation

void cg_upnp_statevariable_delete ( CgUpnpStateVariable statVar  ) 

Delete state variable object

Parameters:
statVar state variable
CgUpnpStateVariable* cg_upnp_statevariable_new (  ) 

Create new state variable object

void cg_upnp_statevariable_setstatevariablenode ( CgUpnpStateVariable statVar,
CgXmlNode node 
)

Set XML node for this state variable

Parameters:
statVar State variable
node XML node
void cg_upnp_statevariable_setvalue ( CgUpnpStateVariable statVar,
char *  data 
)

Set state variable value

Parameters:
statVar State variable
data New value associated with this state variable, and the value is send to other devices which subscribe the service.
static void cg_upnp_statevariable_setvaluewithnotify ( CgUpnpStateVariable statVar,
char *  data,
BOOL  doNotify 
) [static]
void cg_upnp_statevariable_setvaluewithoutnotify ( CgUpnpStateVariable statVar,
char *  data 
)

Set state variable value

Parameters:
statVar State variable
data New value associated with this state variable

Generated on Tue Feb 23 23:14:24 2010 for CyberLink for C by  doxygen 1.6.1