Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/libxml2/usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
uriuri - library of generic URI related routines library of generic URI related routines Implements RFC 2396 Author(s): Daniel Veillard Synopsistypedef struct _xmlURI xmlURI; typedef xmlURI * xmlURIPtr; xmlChar * xmlBuildRelativeURI (const xmlChar * URI, DescriptionDetailsStructure xmlURIstruct _xmlURI { char * scheme : the URI scheme char * opaque : opaque part char * authority : the authority part char * server : the server part char * user : the user part int port : the port number char * path : the path string char * query : the query string (deprecated - use with caution) char * fragment : the fragment identifier int cleanup : parsing potentially unclean URI char * query_raw : the query string (as it appears in the URI) } xmlURI; xmlBuildRelativeURI ()xmlChar * xmlBuildRelativeURI (const xmlChar * URI, Expresses the URI of the reference in terms relative to the base. Some examples of this operation include: base = "http://site1.com/docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif pic1.gif http://site2.com/docs/pic1.gif http://site2.com/docs/pic1.gif base = "docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif http://site1.com/docs/pic1.gif Note: if the URI reference is really weird or complicated, it may be worthwhile to first convert it into a "nice" one by calling xmlBuildURI (using 'base') before calling this routine, since this routine (for reasonable efficiency) assumes URI has already been through some validation.
xmlBuildURI ()xmlChar * xmlBuildURI (const xmlChar * URI, Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form
xmlCanonicPath ()xmlChar * xmlCanonicPath (const xmlChar * path) Constructs a canonic path from the specified path.
xmlCreateURI ()xmlURIPtr xmlCreateURI (void) Simply creates an empty xmlURI
xmlNormalizeURIPath ()int xmlNormalizeURIPath (char * path) Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done
xmlParseURI ()xmlURIPtr xmlParseURI (const char * str) Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
xmlParseURIRaw ()xmlURIPtr xmlParseURIRaw (const char * str, Parse an URI but allows to keep intact the original fragments. URI-reference = URI / relative-ref
xmlParseURIReference ()int xmlParseURIReference (xmlURIPtr uri, Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the @uri structure URI-reference = URI / relative-ref
xmlPathToURI ()xmlChar * xmlPathToURI (const xmlChar * path) Constructs an URI expressing the existing path
xmlPrintURI ()void xmlPrintURI (FILE * stream, Prints the URI in the stream @stream.
xmlSaveUri ()xmlChar * xmlSaveUri (xmlURIPtr uri) Save the URI as an escaped string
xmlURIEscape ()xmlChar * xmlURIEscape (const xmlChar * str) Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure.
xmlURIEscapeStr ()xmlChar * xmlURIEscapeStr (const xmlChar * str, This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list.
xmlURIUnescapeString ()char * xmlURIUnescapeString (const char * str, Unescaping routine, but does not check that the string is an URI. The output is a direct unsigned char translation of %XX values (no encoding) Note that the length of the result can only be smaller or same size as the input string.
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0974 ]-- |