Back to Turicreate

Module xlink from libxml2

deps/src/libxml2-2.9.1/doc/html/libxml-xlink.html

6.4.19.8 KB
Original Source

| |

|

|

|

|

|

|

|

|

|

| API Menu | |

|

| API Indexes | |

|

| Related links | |

|

|

|

|

|

|

| | xinclude | | API documentation | | The XML C parser and toolkit of Gnome | xmlIO | |

unfinished XLink detection module

Table of Contents

Enum[xlinkActuate](#xlinkActuate)
Typedef[xmlChar](libxml-xmlstring.html#xmlChar)*xlinkHRef
Structure[xlinkHandler](#xlinkHandler)
struct _xlinkHandler
Typedef[xlinkHandler](libxml-xlink.html#xlinkHandler)*xlinkHandlerPtr
Typedef[xmlChar](libxml-xmlstring.html#xmlChar)*xlinkRole
Enum[xlinkShow](#xlinkShow)
Typedef[xmlChar](libxml-xmlstring.html#xmlChar)*xlinkTitle
Enum[xlinkType](#xlinkType)
Function type:[xlinkExtendedLinkFunk](#xlinkExtendedLinkFunk)void[xlinkExtendedLinkFunk](#xlinkExtendedLinkFunk)(void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
int nbLocators,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)* hrefs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* roles,
int nbArcs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* from,
const[xlinkRole](libxml-xlink.html#xlinkRole)* to,
[xlinkShow](libxml-xlink.html#xlinkShow)* show,
[xlinkActuate](libxml-xlink.html#xlinkActuate)* actuate,
int nbTitles,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)* titles,
const[xmlChar](libxml-xmlstring.html#xmlChar)** langs)
Function type:[xlinkExtendedLinkSetFunk](#xlinkExtendedLinkSetFunk)void[xlinkExtendedLinkSetFunk](#xlinkExtendedLinkSetFunk)(void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
int nbLocators,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)* hrefs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* roles,
int nbTitles,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)* titles,
const[xmlChar](libxml-xmlstring.html#xmlChar)** langs)
[xlinkNodeDetectFunc](libxml-xlink.html#xlinkNodeDetectFunc)[xlinkGetDefaultDetect](#xlinkGetDefaultDetect)(void)
[xlinkHandlerPtr](libxml-xlink.html#xlinkHandlerPtr)[xlinkGetDefaultHandler](#xlinkGetDefaultHandler)(void)
[xlinkType](libxml-xlink.html#xlinkType)[xlinkIsLink](#xlinkIsLink)([xmlDocPtr](libxml-tree.html#xmlDocPtr)doc,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node)
Function type:[xlinkNodeDetectFunc](#xlinkNodeDetectFunc)void[xlinkNodeDetectFunc](#xlinkNodeDetectFunc)(void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node)
void[xlinkSetDefaultDetect](#xlinkSetDefaultDetect)([xlinkNodeDetectFunc](libxml-xlink.html#xlinkNodeDetectFunc)func)
void[xlinkSetDefaultHandler](#xlinkSetDefaultHandler)([xlinkHandlerPtr](libxml-xlink.html#xlinkHandlerPtr)handler)
Function type:[xlinkSimpleLinkFunk](#xlinkSimpleLinkFunk)void[xlinkSimpleLinkFunk](#xlinkSimpleLinkFunk)(void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)href,
const[xlinkRole](libxml-xlink.html#xlinkRole)role,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)title)

Description

Enum xlinkActuate

Enum xlinkActuate {XLINK\_ACTUATE\_NONE= 0XLINK\_ACTUATE\_AUTO= 1XLINK\_ACTUATE\_ONREQUEST= 2
}

Structure xlinkHandler

Structure xlinkHandler
struct _xlinkHandler {[xlinkSimpleLinkFunk](libxml-xlink.html#xlinkSimpleLinkFunk)simple[xlinkExtendedLinkFunk](libxml-xlink.html#xlinkExtendedLinkFunk)extended[xlinkExtendedLinkSetFunk](libxml-xlink.html#xlinkExtendedLinkSetFunk)set
}

Enum xlinkShow

Enum xlinkShow {XLINK\_SHOW\_NONE= 0XLINK\_SHOW\_NEW= 1XLINK\_SHOW\_EMBED= 2XLINK\_SHOW\_REPLACE= 3
}

Enum xlinkType

Enum xlinkType {XLINK\_TYPE\_NONE= 0XLINK\_TYPE\_SIMPLE= 1XLINK\_TYPE\_EXTENDED= 2XLINK\_TYPE\_EXTENDED\_SET= 3
}

Function type: xlinkExtendedLinkFunk

Function type: xlinkExtendedLinkFunk
void	xlinkExtendedLinkFunk (void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
int nbLocators,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)* hrefs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* roles,
int nbArcs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* from,
const[xlinkRole](libxml-xlink.html#xlinkRole)* to,
[xlinkShow](libxml-xlink.html#xlinkShow)* show,
[xlinkActuate](libxml-xlink.html#xlinkActuate)* actuate,
int nbTitles,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)* titles,
const[xmlChar](libxml-xmlstring.html#xmlChar)** langs)

This is the prototype for a extended link detection callback.

| ctx: | user data pointer | | node: | the node carrying the link | | nbLocators: | the number of locators detected on the link | | hrefs: | pointer to the array of locator hrefs | | roles: | pointer to the array of locator roles | | nbArcs: | the number of arcs detected on the link | | from: | pointer to the array of source roles found on the arcs | | to: | pointer to the array of target roles found on the arcs | | show: | array of values for the show attributes found on the arcs | | actuate: | array of values for the actuate attributes found on the arcs | | nbTitles: | the number of titles detected on the link | | titles: | | | langs: | array of xml:lang values for the titles |

Function type: xlinkExtendedLinkSetFunk

Function type: xlinkExtendedLinkSetFunk
void	xlinkExtendedLinkSetFunk	(void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
int nbLocators,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)* hrefs,
const[xlinkRole](libxml-xlink.html#xlinkRole)* roles,
int nbTitles,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)* titles,
const[xmlChar](libxml-xmlstring.html#xmlChar)** langs)

This is the prototype for a extended link set detection callback.

| ctx: | user data pointer | | node: | the node carrying the link | | nbLocators: | the number of locators detected on the link | | hrefs: | pointer to the array of locator hrefs | | roles: | pointer to the array of locator roles | | nbTitles: | the number of titles detected on the link | | titles: | | | langs: | array of xml:lang values for the titles |

Function: xlinkGetDefaultDetect

[xlinkNodeDetectFunc](libxml-xlink.html#xlinkNodeDetectFunc)xlinkGetDefaultDetect	(void)

Get the default xlink detection routine

| Returns: | the current function or NULL; |

Function: xlinkGetDefaultHandler

[xlinkHandlerPtr](libxml-xlink.html#xlinkHandlerPtr)xlinkGetDefaultHandler	(void)

Get the default xlink handler.

| Returns: | the current xlinkHandlerPtr value. |

[xlinkType](libxml-xlink.html#xlinkType)xlinkIsLink ([xmlDocPtr](libxml-tree.html#xmlDocPtr)doc,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node)

Check whether the given node carries the attributes needed to be a link element (or is one of the linking elements issued from the (X)HTML DtDs). This routine don't try to do full checking of the link validity but tries to detect and return the appropriate link type.

| doc: | the document containing the node | | node: | the node pointer itself | | Returns: | the xlinkType of the node (XLINK_TYPE_NONE if there is no link detected. |

Function type: xlinkNodeDetectFunc

Function type: xlinkNodeDetectFunc
void	xlinkNodeDetectFunc (void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node)

This is the prototype for the link detection routine. It calls the default link detection callbacks upon link detection.

| ctx: | user data pointer | | node: | the node to check |

Function: xlinkSetDefaultDetect

void	xlinkSetDefaultDetect ([xlinkNodeDetectFunc](libxml-xlink.html#xlinkNodeDetectFunc)func)

Set the default xlink detection routine

| func: | pointer to the new detection routine. |

Function: xlinkSetDefaultHandler

void	xlinkSetDefaultHandler ([xlinkHandlerPtr](libxml-xlink.html#xlinkHandlerPtr)handler)

Set the default xlink handlers

| handler: | the new value for the xlink handler block |

Function type: xlinkSimpleLinkFunk

Function type: xlinkSimpleLinkFunk
void	xlinkSimpleLinkFunk (void * ctx,
[xmlNodePtr](libxml-tree.html#xmlNodePtr)node,
const[xlinkHRef](libxml-xlink.html#xlinkHRef)href,
const[xlinkRole](libxml-xlink.html#xlinkRole)role,
const[xlinkTitle](libxml-xlink.html#xlinkTitle)title)

This is the prototype for a simple link detection callback.

| ctx: | user data pointer | | node: | the node carrying the link | | href: | the target of the link | | role: | the role string | | title: | the link title |

Daniel Veillard

|

|

|

|

|