Define uFLink component and it's operation.
More...
#include <CoconutXML/CoconutXML.h>
Go to the source code of this file.
Detailed Description
Define uFLink component and it's operation.
- Copyright
- Copyright (C) 2012 Steel Wheels Project
Enumeration Type Documentation
Type of link.
- Enumerator:
uFUnknownLink |
Unknown link type.
|
uFLicenseLink |
License link type.
|
uFTagLink |
Tag link type.
|
uFNoFollowLink |
No Follow link.
|
Function Documentation
struct uFLink* uFAllocateLink |
( |
uFLinkType |
type, |
|
|
struct CNString * |
url, |
|
|
struct CNResource * |
resource |
|
) |
| [read] |
Allocate UFLINK component.
- Return values:
-
comp | Allocate UFLINK component |
NULL | Failed to allocate the component |
- Parameters:
-
type | Type of link |
url | URL for the new license |
resource | Resource to allocate the new component |
static void uFRetainLink |
( |
struct uFLink * |
dst | ) |
[inline, static] |
static void uFReleaseLink |
( |
struct uFLink * |
dst | ) |
[inline, static] |
static struct CNXMLObject* CNCastLinkToXMLObject |
( |
struct uFLink * |
src | ) |
[static, read] |
static xmlNodePtr uFEncodeLink |
( |
const struct uFLink * |
src | ) |
[inline, static] |
static struct CNString* uFURLInLink |
( |
const struct uFLink * |
src | ) |
[static, read] |
Get URL of the UFLINK component.
- Returns:
- URL
- Parameters:
-
References uFLink::url.
static void uFSetContextOfLink |
( |
struct uFLink * |
dst, |
|
|
struct CNXMLObject * |
src |
|
) |
| [inline, static] |
Set context of the link.
- Parameters:
-
dst | Destination link |
src | Source context |
References uFLink::context.
static struct CNXMLObject* uFContextInLink |
( |
struct uFLink * |
src | ) |
[static, read] |
Get context of link.
- Returns:
- Context of link
- Parameters:
-
References uFLink::context.