Main Page | File List | File Members

StringHash.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: StringHash.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_StringHash_H
00012 #define OpenSOAP_StringHash_H
00013 
00014 #include <OpenSOAP/String.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPStringHash OpenSOAPStringHash;
00031 
00036     typedef OpenSOAPStringHash    *OpenSOAPStringHashPtr;
00037 
00046     int
00047     OPENSOAP_API
00048     OpenSOAPStringHashCreate(OpenSOAPStringHashPtr * /* [out] */ strh);
00049 
00058     int
00059     OPENSOAP_API
00060     OpenSOAPStringHashRelease(OpenSOAPStringHashPtr  /* [in] */ strh);
00061 
00070     int
00071     OPENSOAP_API
00072     OpenSOAPStringHashClear(OpenSOAPStringHashPtr /* [in, out] */ strh);
00073 
00086     int
00087     OPENSOAP_API
00088     OpenSOAPStringHashRemoveKey(OpenSOAPStringHashPtr /* [in, out] */ strh,
00089                                 OpenSOAPStringPtr /* [in] */ key,
00090                                 void ** /* [out] */ val);
00091     
00104     int
00105     OPENSOAP_API
00106     OpenSOAPStringHashSetValue(OpenSOAPStringHashPtr /* [in, out] */ strh,
00107                                OpenSOAPStringPtr /* [in] */ key,
00108                                void * /* [in] */ val);
00109     
00122     int
00123     OPENSOAP_API
00124     OpenSOAPStringHashSetValueMB(OpenSOAPStringHashPtr /* [in, out] */ strh,
00125                                  const char * /* [in] */ key,
00126                                  void * /* [in] */ val);
00127 
00140     int
00141     OPENSOAP_API
00142     OpenSOAPStringHashSetValueWC(OpenSOAPStringHashPtr /* [in, out] */ strh,
00143                                  const wchar_t * /* [in] */ key,
00144                                  void * /* [in] */ val);
00145     
00158     int
00159     OPENSOAP_API
00160     OpenSOAPStringHashGetValue(OpenSOAPStringHashPtr /* [in] */ strh,
00161                                OpenSOAPStringPtr /* [in] */ key,
00162                                void ** /* [out] */ val);
00163 
00176     int
00177     OPENSOAP_API
00178     OpenSOAPStringHashGetValueMB(OpenSOAPStringHashPtr /* [in] */ strh,
00179                                  const char * /* [in] */ key,
00180                                  void ** /* [out] */ val);
00181 
00194     int
00195     OPENSOAP_API
00196     OpenSOAPStringHashGetValueWC(OpenSOAPStringHashPtr /* [in] */ strh,
00197                                  const wchar_t * /* [in] */ key,
00198                                  void ** /* [out] */ val);
00199 
00210     int
00211     OPENSOAP_API
00212     OpenSOAPStringHashGetSize(OpenSOAPStringHashPtr /* [in] */ strh,
00213                               size_t * /* [out] */ sz);
00214 
00227     int
00228     OPENSOAP_API
00229     OpenSOAPStringHashGetKeys(OpenSOAPStringHashPtr /* [in] */ strh,
00230                               size_t * /* [in, out] */ sz,
00231                               OpenSOAPStringPtr * /* [out] */ keys);
00244     int
00245     OPENSOAP_API
00246     OpenSOAPStringHashGetValues(OpenSOAPStringHashPtr /* [in] */ strh,
00247                                 size_t * /* [in, out] */ sz,
00248                                 void ** /* [out] */ vals);
00249 
00262     int
00263     OPENSOAP_API
00264     OpenSOAPStringHashApplyToValues(OpenSOAPStringHashPtr /* [in, out] */ strh,
00265                                     int  /* [in] */ (*aply)(void *, void *),
00266                                     void * /* [in] */ opt);
00267 
00268 #ifdef __cplusplus
00269 }
00270 #endif /* __cplusplus */
00271 
00272 #endif /* OpenSOAP_StringHash_H */

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