#include <cybergarage/upnp/event/cevent.h>
#include <cybergarage/util/clog.h>
#include <cybergarage/upnp/cupnp_function.h>
#include <stdio.h>
#include <stdlib.h>
Function Documentation
| char* cg_upnp_event_subscription_createsid |
( |
char * |
buf, |
|
|
int |
bufSize |
|
) |
| |
Create SID for subscription
- Parameters:
-
| buf | Character buffer where SID is created |
| bufSize | Buffer size. |
- Returns:
- Pointer to buffer containing SID
| char* cg_upnp_event_subscription_getsid |
( |
char * |
headerValue | ) |
|
Get SID
- Parameters:
-
| headerValue | Raw header C string |
- Returns:
- C string containing SID
| long cg_upnp_event_subscription_gettimeout |
( |
char * |
headerValue | ) |
|
Get event subscription timeout
- Parameters:
-
- Returns:
- Timeout
| char* cg_upnp_event_subscription_tosidheaderstring |
( |
char * |
sid, |
|
|
char * |
buf, |
|
|
int |
bufSize |
|
) |
| |
Creates SID header string
- Parameters:
-
| sid | Character array containing the SID |
| buf | A buffer where header string is created |
| bufSize | Size of the used buffer |
- Returns:
- Pointer to buffer containing SID header string
| char* cg_upnp_event_subscription_totimeoutheaderstring |
( |
long |
time, |
|
|
CgString * |
buf |
|
) |
| |
Create timeout header string
- Parameters:
-
| time | Timeout |
| buf | Buffer used when creating header string |
- Returns:
- Timeout header C string