mUPnP for C
|
#include <mupnp/event/event.h>
#include <mupnp/upnp_function.h>
#include <mupnp/util/log.h>
#include <stdio.h>
#include <stdlib.h>
Functions | |
const char * | mupnp_event_subscription_totimeoutheaderstring (mUpnpTime time, mUpnpString *buf) |
mUpnpTime | mupnp_event_subscription_gettimeout (const char *headerValue) |
const char * | mupnp_event_subscription_createsid (char *buf, size_t bufSize) |
const char * | mupnp_event_subscription_tosidheaderstring (const char *sid, char *buf, size_t bufSize) |
const char * | mupnp_event_subscription_getsid (const char *headerValue) |
const char * mupnp_event_subscription_createsid | ( | char * | buf, |
size_t | bufSize ) |
Create SID for subscription
buf | Character buffer where SID is created |
bufSize | Buffer size. |
const char * mupnp_event_subscription_getsid | ( | const char * | headerValue | ) |
Get SID
headerValue | Raw header C string |
mUpnpTime mupnp_event_subscription_gettimeout | ( | const char * | headerValue | ) |
Get event subscription timeout
headerValue | Header value |
const char * mupnp_event_subscription_tosidheaderstring | ( | const char * | sid, |
char * | buf, | ||
size_t | bufSize ) |
Creates SID header string
sid | Character array containing the SID |
buf | A buffer where header string is created |
bufSize | Size of the used buffer |
const char * mupnp_event_subscription_totimeoutheaderstring | ( | mUpnpTime | time, |
mUpnpString * | buf ) |
Create timeout header string
time | Timeout |
buf | Buffer used when creating header string |