|
mUPnP for C
|
Data Structures | |
| struct | _mUpnpIcon |
Macros | |
| #define | MUPNP_ICON_ELEM_NAME "icon" |
| #define | MUPNP_ICONLIST_ELEM_NAME "iconList" |
| #define | MUPNP_ICON_MIME_TYPE "mimetype" |
| #define | MUPNP_ICON_WIDTH "width" |
| #define | MUPNP_ICON_HEIGHT "height" |
| #define | MUPNP_ICON_DEPTH "depth" |
| #define | MUPNP_ICON_URL "url" |
| #define | mupnp_icon_next(icon) |
| #define | mupnp_icon_isiconnode(node) |
| #define | mupnp_icon_seticonnode(icon, node) |
| #define | mupnp_icon_geticonnode(icon) |
| #define | mupnp_icon_setmimetype(icon, value) |
| #define | mupnp_icon_getmimetype(icon) |
| #define | mupnp_icon_setwidth(icon, value) |
| #define | mupnp_icon_getwidth(icon) |
| #define | mupnp_icon_setheight(icon, value) |
| #define | mupnp_icon_getheight(icon) |
| #define | mupnp_icon_setdepth(icon, value) |
| #define | mupnp_icon_getdepth(icon) |
| #define | mupnp_icon_seturl(icon, value) |
| #define | mupnp_icon_geturl(icon) |
| #define | mupnp_iconlist_clear(iconList) |
| #define | mupnp_iconlist_size(iconList) |
| #define | mupnp_iconlist_gets(iconList) |
| #define | mupnp_iconlist_add(iconList, icon) |
Typedefs | |
| typedef struct _mUpnpIcon | mUpnpIcon |
| typedef struct _mUpnpIcon | mUpnpIconList |
Functions | |
| mUpnpIcon * | mupnp_icon_new (void) |
| void | mupnp_icon_delete (mUpnpIcon *dev) |
| mUpnpIconList * | mupnp_iconlist_new (void) |
| void | mupnp_iconlist_delete (mUpnpIconList *iconList) |
| #define MUPNP_ICON_DEPTH "depth" |
| #define MUPNP_ICON_ELEM_NAME "icon" |
| #define mupnp_icon_getdepth | ( | icon | ) |
Get icon's colour depth
| #define mupnp_icon_getheight | ( | icon | ) |
Get icon height
| #define mupnp_icon_geticonnode | ( | icon | ) |
Get the XML icon node from an icon struct
| icon | The icon struct |
| #define mupnp_icon_getmimetype | ( | icon | ) |
Get the icon's MIME type
| #define mupnp_icon_geturl | ( | icon | ) |
Get icon's URL
| #define mupnp_icon_getwidth | ( | icon | ) |
Get icon width
| #define MUPNP_ICON_HEIGHT "height" |
| #define mupnp_icon_isiconnode | ( | node | ) |
Check whether the given node is a member of an icon list
| node | List node |
| #define MUPNP_ICON_MIME_TYPE "mimetype" |
| #define mupnp_icon_next | ( | icon | ) |
Get the next icon in list. Use as an iterator.
| icon | Node in a list of icons |
| #define mupnp_icon_setdepth | ( | icon, | |
| value ) |
Set icon's colour depth
| icon | Icon in question |
| value | Colour depth |
| #define mupnp_icon_setheight | ( | icon, | |
| value ) |
Set icon height
| icon | Icon in question |
| value | Icon height |
| #define mupnp_icon_seticonnode | ( | icon, | |
| node ) |
Set the XML icon node to an icon struct
| icon | The icon struct |
| node | XML node |
| #define mupnp_icon_setmimetype | ( | icon, | |
| value ) |
Set the icon's MIME type
| icon | Icon in question |
| value | MIME type |
| #define mupnp_icon_seturl | ( | icon, | |
| value ) |
Set icon's URL
| icon | Icon in question |
| value | Icon's URL |
| #define mupnp_icon_setwidth | ( | icon, | |
| value ) |
Set icon width
| icon | Icon in question |
| value | Icon width |
| #define MUPNP_ICON_URL "url" |
| #define MUPNP_ICON_WIDTH "width" |
| #define mupnp_iconlist_add | ( | iconList, | |
| icon ) |
Add an icon to an icon list
| iconList | List of icons |
| icon | Icon to add |
| #define mupnp_iconlist_clear | ( | iconList | ) |
Clear the contents of an icon list
| iconList | List of icons |
| #define MUPNP_ICONLIST_ELEM_NAME "iconList" |
| #define mupnp_iconlist_gets | ( | iconList | ) |
| #define mupnp_iconlist_size | ( | iconList | ) |
Get the size (number of elements) of an icon list
| iconList | List of icons |
| typedef struct _mUpnpIcon mUpnpIcon |
The generic icon struct
| typedef struct _mUpnpIcon mUpnpIconList |
| void mupnp_icon_delete | ( | mUpnpIcon * | dev | ) |
Delete an icon struct
| dev | Icon to delete |
| mUpnpIcon * mupnp_icon_new | ( | void | ) |
Create a new icon struct
| void mupnp_iconlist_delete | ( | mUpnpIconList * | iconList | ) |
Delete a list of icons
| iconList | List of icons |
| mUpnpIconList * mupnp_iconlist_new | ( | void | ) |
Create a new list of icons