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

xmlstring.h
Go to the documentation of this file.
00001 /*
00002  * Summary: set of routines to process strings
00003  * Description: type and interfaces needed for the internal string handling
00004  *              of the library, especially UTF8 processing.
00005  *
00006  * Copy: See Copyright for the status of this software.
00007  *
00008  * Author: Daniel Veillard
00009  */
00010 
00011 #ifndef __XML_STRING_H__
00012 #define __XML_STRING_H__
00013 
00014 #include <stdarg.h>
00015 #include <libxml/xmlversion.h>
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00028 typedef unsigned char xmlChar;
00029 
00035 #define BAD_CAST (xmlChar *)
00036 
00037 /*
00038  * xmlChar handling
00039  */
00040 XMLPUBFUN xmlChar * XMLCALL
00041                 xmlStrdup                (const xmlChar *cur);
00042 XMLPUBFUN xmlChar * XMLCALL
00043                 xmlStrndup               (const xmlChar *cur,
00044                                          int len);
00045 XMLPUBFUN xmlChar * XMLCALL
00046                 xmlCharStrndup           (const char *cur,
00047                                          int len);
00048 XMLPUBFUN xmlChar * XMLCALL
00049                 xmlCharStrdup            (const char *cur);
00050 XMLPUBFUN xmlChar * XMLCALL
00051                 xmlStrsub                (const xmlChar *str,
00052                                          int start,
00053                                          int len);
00054 XMLPUBFUN const xmlChar * XMLCALL
00055                 xmlStrchr                (const xmlChar *str,
00056                                          xmlChar val);
00057 XMLPUBFUN const xmlChar * XMLCALL
00058                 xmlStrstr                (const xmlChar *str,
00059                                          const xmlChar *val);
00060 XMLPUBFUN const xmlChar * XMLCALL
00061                 xmlStrcasestr            (const xmlChar *str,
00062                                          const xmlChar *val);
00063 XMLPUBFUN int XMLCALL
00064                 xmlStrcmp                (const xmlChar *str1,
00065                                          const xmlChar *str2);
00066 XMLPUBFUN int XMLCALL
00067                 xmlStrncmp               (const xmlChar *str1,
00068                                          const xmlChar *str2,
00069                                          int len);
00070 XMLPUBFUN int XMLCALL
00071                 xmlStrcasecmp            (const xmlChar *str1,
00072                                          const xmlChar *str2);
00073 XMLPUBFUN int XMLCALL
00074                 xmlStrncasecmp           (const xmlChar *str1,
00075                                          const xmlChar *str2,
00076                                          int len);
00077 XMLPUBFUN int XMLCALL
00078                 xmlStrEqual              (const xmlChar *str1,
00079                                          const xmlChar *str2);
00080 XMLPUBFUN int XMLCALL
00081                 xmlStrQEqual             (const xmlChar *pref,
00082                                          const xmlChar *name,
00083                                          const xmlChar *str);
00084 XMLPUBFUN int XMLCALL
00085                 xmlStrlen                (const xmlChar *str);
00086 XMLPUBFUN xmlChar * XMLCALL
00087                 xmlStrcat                (xmlChar *cur,
00088                                          const xmlChar *add);
00089 XMLPUBFUN xmlChar * XMLCALL
00090                 xmlStrncat               (xmlChar *cur,
00091                                          const xmlChar *add,
00092                                          int len);
00093 XMLPUBFUN xmlChar * XMLCALL
00094                 xmlStrncatNew            (const xmlChar *str1,
00095                                          const xmlChar *str2,
00096                                          int len);
00097 XMLPUBFUN int XMLCALL
00098                 xmlStrPrintf             (xmlChar *buf,
00099                                          int len,
00100                                          const xmlChar *msg,
00101                                          ...);
00102 XMLPUBFUN int XMLCALL
00103                 xmlStrVPrintf                (xmlChar *buf,
00104                                          int len,
00105                                          const xmlChar *msg,
00106                                          va_list ap);
00107 
00108 XMLPUBFUN int XMLCALL
00109         xmlGetUTF8Char                   (const unsigned char *utf,
00110                                          int *len);
00111 XMLPUBFUN int XMLCALL
00112         xmlCheckUTF8                     (const unsigned char *utf);
00113 XMLPUBFUN int XMLCALL
00114         xmlUTF8Strsize                   (const xmlChar *utf,
00115                                          int len);
00116 XMLPUBFUN xmlChar * XMLCALL 
00117         xmlUTF8Strndup                   (const xmlChar *utf,
00118                                          int len);
00119 XMLPUBFUN const xmlChar * XMLCALL 
00120         xmlUTF8Strpos                    (const xmlChar *utf,
00121                                          int pos);
00122 XMLPUBFUN int XMLCALL
00123         xmlUTF8Strloc                    (const xmlChar *utf,
00124                                          const xmlChar *utfchar);
00125 XMLPUBFUN xmlChar * XMLCALL 
00126         xmlUTF8Strsub                    (const xmlChar *utf,
00127                                          int start,
00128                                          int len);
00129 XMLPUBFUN int XMLCALL
00130         xmlUTF8Strlen                    (const xmlChar *utf);
00131 XMLPUBFUN int XMLCALL
00132         xmlUTF8Size                      (const xmlChar *utf);
00133 XMLPUBFUN int XMLCALL
00134         xmlUTF8Charcmp                   (const xmlChar *utf1,
00135                                          const xmlChar *utf2);
00136 
00137 #ifdef __cplusplus
00138 }
00139 #endif
00140 #endif /* __XML_STRING_H__ */

Generated on Sat May 26 2012 04:32:04 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.