|
mUPnP for C
|
#include <mupnp/typedef.h>#include <mupnp/soap/soap.h>#include <mupnp/util/string.h>#include <mupnp/event/property.h>#include <mupnp/event/subscriber.h>#include <mupnp/statevariable.h>Typedefs | |
| typedef mUpnpSoapRequest | mUpnpNotifyRequest |
| typedef mUpnpSoapResponse | mUpnpNotifyResponse |
Functions | |
| mUpnpNotifyRequest * | mupnp_event_notify_request_new (void) |
| void | mupnp_event_notify_request_delete (mUpnpNotifyRequest *notifyReq) |
| void | mupnp_event_notify_request_clear (mUpnpNotifyRequest *notifyReq) |
| mUpnpPropertyList * | mupnp_event_notify_request_getpropertylist (mUpnpNotifyRequest *nofityReq) |
| void | mupnp_event_notify_request_setsid (mUpnpNotifyRequest *soapReq, char *sid) |
| bool | mupnp_event_notify_request_setpropertysetnode (mUpnpNotifyRequest *notifyReq, mUpnpSubscriber *sub, void *service, mUpnpStateVariable *statVar) |
| #define mupnp_event_notify_request_getnt | ( | soapReq | ) |
Get NT from notification request
| soapReq | Notification request |
| #define mupnp_event_notify_request_getnts | ( | soapReq | ) |
Get NTS from notification request
| soapReq | Notification request |
| #define mupnp_event_notify_request_getpropertysetnode | ( | notifyReq | ) |
Get root node associated with current Notification request
| notifyReq | Notification request |
| #define mupnp_event_notify_request_getseq | ( | soapReq | ) |
Get sequence number from notification request
| soapReq | Notification request |
| #define mupnp_event_notify_request_getsid | ( | soapReq | ) |
Get SID from notification request
| soapReq | Notification request |
| #define mupnp_event_notify_request_hasnt | ( | soapReq | ) |
| #define mupnp_event_notify_request_hasnts | ( | soapReq | ) |
| #define mupnp_event_notify_request_hassid | ( | soapReq | ) |
| #define mupnp_event_notify_request_post | ( | notifyReq, | |
| host, | |||
| port ) |
Sends event Notification request to control point
| notifyReq | Notification request |
| host | Host address |
| port | Host port |
| #define mupnp_event_notify_request_sethttprequest | ( | notifyReq, | |
| httpReq ) |
Set HTTP request for event Notification request
| notifyReq | Notification request |
| httpReq | HTTP request |
| #define mupnp_event_notify_request_setnt | ( | soapReq, | |
| value ) |
Set NT (Notificatio type) for Notification request
| soapReq | Notification request |
| value | Notification type |
| #define mupnp_event_notify_request_setnts | ( | soapReq, | |
| value ) |
Set NTS (Notification sub type) for current Notification request
| soapReq | Notification request |
| value | NTS |
| #define mupnp_event_notify_request_setpropertylist | ( | notifyReq, | |
| value ) |
Set property list for Notification request
| notifyReq | Notification request |
| value | Property list value |
| #define mupnp_event_notify_request_setseq | ( | soapReq, | |
| value ) |
Set sequence number for notification request
| soapReq | Notification request |
| value | Sequence number |
| #define mupnp_event_notify_response_getstatuscode | ( | notifyRes | ) |
Get the status code of the specified response
| notifyRes | Notification response |
| #define mupnp_event_notify_response_issuccessful | ( | notifyRes | ) |
Check if notification response was successfull
| notifyRes | Notification response |
| #define MUPNP_NOTIFY_PROPERTY "property" |
Define for notify property
| #define MUPNP_NOTIFY_PROPERTYSET "propertyset" |
Define for notify property set
| #define MUPNP_NOTIFY_XMLNS "e" |
Define for XML namespace
| typedef mUpnpSoapRequest mUpnpNotifyRequest |
Data type for UPnP Notification request
| typedef mUpnpSoapResponse mUpnpNotifyResponse |
Data type for UPnP notify response
| void mupnp_event_notify_request_clear | ( | mUpnpNotifyRequest * | notifyReq | ) |
Clear Notification request
| notifyReq | Notification request |
| void mupnp_event_notify_request_delete | ( | mUpnpNotifyRequest * | notifyReq | ) |
Delete Notification request
| notifyReq | Notification request |
| mUpnpPropertyList * mupnp_event_notify_request_getpropertylist | ( | mUpnpNotifyRequest * | nofityReq | ) |
Get property list from Notification request
| nofityReq | Notification request |
| mUpnpNotifyRequest * mupnp_event_notify_request_new | ( | void | ) |
Create new Notification request
| bool mupnp_event_notify_request_setpropertysetnode | ( | mUpnpNotifyRequest * | notifyReq, |
| mUpnpSubscriber * | sub, | ||
| void * | service, | ||
| mUpnpStateVariable * | statVar ) |
| void mupnp_event_notify_request_setsid | ( | mUpnpNotifyRequest * | soapReq, |
| char * | sid ) |
Set SID (Subscription ID) for notification request
| soapReq | Notification request |
| sid | SID |