Main Page | File List | File Members

XMLNamespace.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: XMLNamespace.h,v $
00004  *
00005  * See Copyright for the status of this software.
00006  *
00007  * The OpenSOAP Project
00008  * http://opensoap.jp/
00009  *-----------------------------------------------------------------------------
00010  */
00011 #ifndef OpenSOAP_XMLNamespace_H
00012 #define OpenSOAP_XMLNamespace_H
00013 
00014 #include <OpenSOAP/String.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPXMLNamespace OpenSOAPXMLNamespace;
00031 
00036     typedef OpenSOAPXMLNamespace *OpenSOAPXMLNamespacePtr;
00037 
00042     typedef struct tagOpenSOAPXMLElm OpenSOAPXMLElm;
00043 
00048     typedef OpenSOAPXMLElm *OpenSOAPXMLElmPtr;
00049 
00062     int
00063     OPENSOAP_API
00064     OpenSOAPXMLNamespaceCreateMB(/* [in]  */ const char *ns_uri,
00065                                  /* [in]  */ const char *ns_prefix,
00066                                  /* [out] */ OpenSOAPXMLNamespacePtr *ns);
00067 
00080     int
00081     OPENSOAP_API
00082     OpenSOAPXMLNamespaceCreateWC(/* [in]  */ const wchar_t *ns_uri,
00083                                  /* [in]  */ const wchar_t *ns_prefix,
00084                                  /* [out] */ OpenSOAPXMLNamespacePtr *ns);
00085 
00094     int
00095     OPENSOAP_API
00096     OpenSOAPXMLNamespaceRelease(/* [out] */ OpenSOAPXMLNamespacePtr ns);
00097 
00110     int
00111     OPENSOAP_API
00112     OpenSOAPXMLNamespaceCreateString(/* [in]  */  OpenSOAPStringPtr nsUri,
00113                                      /* [in]  */  OpenSOAPStringPtr nsPrefix,
00114                                      /* [out] */ OpenSOAPXMLNamespacePtr *ns);
00115 
00116 
00127     int
00128     OPENSOAP_API
00129     OpenSOAPXMLNamespaceGetURI(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00130                                /* [out] */ OpenSOAPStringPtr *ns_uri);
00131 
00142     int
00143     OPENSOAP_API
00144     OpenSOAPXMLNamespaceDuplicate(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00145                                   /* [out] */ OpenSOAPXMLNamespacePtr *dupNs);
00146 
00157     int
00158     OPENSOAP_API
00159     OpenSOAPXMLNamespaceGetDefinedXMLElm(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00160                                          /* [out] */ OpenSOAPXMLElmPtr *elm);
00161 
00174     int
00175     OPENSOAP_API
00176     OpenSOAPXMLNamespaceSetDefinedXMLElm(/* [out] */ OpenSOAPXMLNamespacePtr ns,
00177                                          /* [in]  */ OpenSOAPXMLElmPtr elm,
00178                                          /* [out] */ OpenSOAPXMLElmPtr *oldElm);
00179 
00190     int
00191     OPENSOAP_API
00192     OpenSOAPXMLNamespaceGetPrefix(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00193                                   /* [out] */ OpenSOAPStringPtr *ns_prefix);
00194 
00209     int
00210     OPENSOAP_API
00211     OpenSOAPXMLNamespaceGetPropertiesUTF8WithAllocator(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00212                                                        /* [in]  */ char * (*memAllocator)(size_t),
00213                                                        /* [out] */ char **utf8NsURI,
00214                                                        /* [out] */ char **utf8NsPrefix);
00215 
00228     int
00229     OPENSOAP_API
00230     OpenSOAPXMLNamespaceIsSameUriString(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00231                                         /* [in]  */ OpenSOAPStringPtr nsUri,
00232                                         /* [out] */ int *isSame);
00233 
00248     int
00249     OPENSOAP_API
00250     OpenSOAPXMLNamespaceIsSameString(/* [in]  */ OpenSOAPXMLNamespacePtr ns,
00251                                      /* [in]  */ OpenSOAPStringPtr nsUri,
00252                                      /* [in]  */ OpenSOAPStringPtr nsPrefix,
00253                                      /* [out] */ int *isSame);
00254         
00255 #ifdef __cplusplus
00256 }
00257 #endif /* __cplusplus */
00258 
00259 #endif /* OpenSOAP_XMLNamespace_H */

Generated on Mon Oct 18 18:29:44 2004 for OpenSOAP by doxygen 1.3.6