#include <cybergarage/upnp/event/cevent.h>
#include <cybergarage/util/clog.h>
#include <stdio.h>
#include <stdlib.h>
Functions | |
char * | cg_upnp_event_subscription_totimeoutheaderstring (long time, CgString *buf) |
long | cg_upnp_event_subscription_gettimeout (char *headerValue) |
char * | cg_upnp_event_subscription_createsid (char *buf, int bufSize) |
char * | cg_upnp_event_subscription_tosidheaderstring (char *sid, char *buf, int bufSize) |
char * | cg_upnp_event_subscription_getsid (char *headerValue) |
char* cg_upnp_event_subscription_createsid | ( | char * | buf, | |
int | bufSize | |||
) |
Create SID for subscription
buf | Character buffer where SID is created | |
bufSize | Buffer size. |
char* cg_upnp_event_subscription_getsid | ( | char * | headerValue | ) |
Get SID
headerValue | Raw header C string |
long cg_upnp_event_subscription_gettimeout | ( | char * | headerValue | ) |
Get event subscription timeout
headerValue | Header value |
char* cg_upnp_event_subscription_tosidheaderstring | ( | char * | sid, | |
char * | buf, | |||
int | 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 |
char* cg_upnp_event_subscription_totimeoutheaderstring | ( | long | time, | |
CgString * | buf | |||
) |
Create timeout header string
time | Timeout | |
buf | Buffer used when creating header string |