Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / packages / libxml / src / dict.inc
Size: Mime:
(*
 * Summary: string dictionnary
 * Description: dictionary of reusable strings, just used to avoid allocation
 *         and freeing operations.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 *)

(*
 * The dictionnary
 *)
{$IFDEF POINTER}
  xmlDictPtr = ^xmlDict;
{$ENDIF}

{$IFDEF TYPE}
  xmlDict = record end;
{$ENDIF}

{$IFDEF FUNCTION}
(*
 * Constructor and destructor.
 *)
function xmlDictCreate: xmlDictPtr; EXTDECL; external xml2lib;
function xmlDictCreateSub(sub: xmlDictPtr): xmlDictPtr; EXTDECL; external xml2lib;
function xmlDictReference(dict: xmlDictPtr): cint; EXTDECL; external xml2lib;
procedure xmlDictFree(dict: xmlDictPtr); EXTDECL; external xml2lib;

(*
 * Lookup of entry in the dictionnary.
 *)
function xmlDictLookup(dict: xmlDictPtr; name: xmlCharPtr; len: cint): xmlCharPtr; EXTDECL; external xml2lib;
function xmlDictExists(dict: xmlDictPtr; name: xmlCharPtr; len: cint): xmlCharPtr; EXTDECL; external xml2lib;
function xmlDictQLookup(dict: xmlDictPtr; prefix, name: xmlCharPtr): xmlCharPtr; EXTDECL; external xml2lib;
function xmlDictOwns(dict: xmlDictPtr; str: xmlCharPtr): cint; EXTDECL; external xml2lib;
function xmlDictOwns(dict: xmlDictPtr): cint; EXTDECL; external xml2lib;

(*
 * Cleanup function
 *)
procedure xmlDictCleanup; EXTDECL; external xml2lib;
{$ENDIF}