ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dict.h
Go to the documentation of this file.
00001 /*
00002  * Summary: string dictionnary
00003  * Description: dictionary of reusable strings, just used to avoid allocation
00004  *         and freeing operations.
00005  *
00006  * Copy: See Copyright for the status of this software.
00007  *
00008  * Author: Daniel Veillard
00009  */
00010 
00011 #ifndef __XML_DICT_H__
00012 #define __XML_DICT_H__
00013 
00014 #include <libxml/xmlversion.h>
00015 #include <libxml/tree.h>
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 /*
00022  * The dictionnary.
00023  */
00024 typedef struct _xmlDict xmlDict;
00025 typedef xmlDict *xmlDictPtr;
00026 
00027 /*
00028  * Constructor and destructor.
00029  */
00030 XMLPUBFUN xmlDictPtr XMLCALL
00031             xmlDictCreate   (void);
00032 XMLPUBFUN xmlDictPtr XMLCALL
00033             xmlDictCreateSub(xmlDictPtr sub);
00034 XMLPUBFUN int XMLCALL
00035             xmlDictReference(xmlDictPtr dict);
00036 XMLPUBFUN void XMLCALL          
00037             xmlDictFree (xmlDictPtr dict);
00038 
00039 /*
00040  * Lookup of entry in the dictionnary.
00041  */
00042 XMLPUBFUN const xmlChar * XMLCALL       
00043             xmlDictLookup   (xmlDictPtr dict,
00044                                  const xmlChar *name,
00045                                  int len);
00046 XMLPUBFUN const xmlChar * XMLCALL       
00047             xmlDictExists   (xmlDictPtr dict,
00048                                  const xmlChar *name,
00049                                  int len);
00050 XMLPUBFUN const xmlChar * XMLCALL       
00051             xmlDictQLookup  (xmlDictPtr dict,
00052                                  const xmlChar *prefix,
00053                                  const xmlChar *name);
00054 XMLPUBFUN int XMLCALL
00055             xmlDictOwns (xmlDictPtr dict,
00056                      const xmlChar *str);
00057 XMLPUBFUN int XMLCALL           
00058             xmlDictSize (xmlDictPtr dict);
00059 
00060 /*
00061  * Cleanup function
00062  */
00063 XMLPUBFUN void XMLCALL
00064                         xmlDictCleanup  (void);
00065 
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069 #endif /* ! __XML_DICT_H__ */

Generated on Sat May 26 2012 04:22:20 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.