#include <cybergarage/typedef.h>Defines | |
| #define | CG_UPNP_UUID_NAME "uuid" |
| #define | CG_UPNP_UUID_MAX_LEN (5 + ((4+1)*4) + 1) |
| #define | CG_UPNP_SEVERNAME_MAXLEN 64 |
Functions | |
| char * | cg_upnp_createuuid (char *uuidBuf) |
| char * | cg_upnp_getservername (char *buf, int bufSize) |
| void | cg_upnp_setnmprmode (BOOL onFlag) |
| BOOL | cg_upnp_isnmprmode () |
| #define CG_UPNP_SEVERNAME_MAXLEN 64 |
| #define CG_UPNP_UUID_MAX_LEN (5 + ((4+1)*4) + 1) |
| #define CG_UPNP_UUID_NAME "uuid" |
| char* cg_upnp_createuuid | ( | char * | uuidBuf | ) |
Create a UUID (Universally Unique IDentifier) based on a semi-random value using current time.
| uuidBuf | The UUID created by this function (must not be NULL) |
| char* cg_upnp_getservername | ( | char * | buf, | |
| int | bufSize | |||
| ) |
Get the server name ("OSname/OSversion/UPnP/<version> CyberLinkC/<version>")
| buf | Buffer to store the server name | |
| bufSize | Buffer length | |
| The | server name buffer (== buf) |
| BOOL cg_upnp_isnmprmode | ( | ) |
Check whether NMPR (Intel Networked Media Product Requirements) mode is on.
| void cg_upnp_setnmprmode | ( | BOOL | onFlag | ) |
Enable/disable NMPR (Intel Networked Media Product Requirements) mode.
| onFlag | TRUE: enable; FALSE: disable |
1.4.7