Main Page | File List | File Members

Stream.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: Stream.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_Stream_H
00012 #define OpenSOAP_Stream_H
00013 
00014 #include <OpenSOAP/ByteArray.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPStream OpenSOAPStream;
00031 
00036     typedef OpenSOAPStream    *OpenSOAPStreamPtr;
00037     
00046     int
00047     OPENSOAP_API
00048     OpenSOAPStreamRelease(OpenSOAPStreamPtr /* [in, out] */ s);
00049     
00062     int
00063     OPENSOAP_API
00064     OpenSOAPStreamRead(OpenSOAPStreamPtr /* [in] */ s,
00065                        unsigned char * /* [out] */ buf,
00066                        size_t * /* [in, out] */ buf_sz);
00067     
00068 
00081     int
00082     OPENSOAP_API
00083     OpenSOAPStreamWrite(OpenSOAPStreamPtr /* [in] */ s,
00084                         const unsigned char * /* [in] */ buf,
00085                         size_t * /* [in, out] */ buf_sz);
00086     
00087 
00102     int
00103     OPENSOAP_API
00104     OpenSOAPStreamReadToDelm(OpenSOAPStreamPtr /* [in] */ s,
00105                              const unsigned char * /* [in] */ delm,
00106                              size_t /* [in] */ delm_sz,
00107                              OpenSOAPByteArrayPtr /* [out] */ buf);
00108     
00119     int
00120     OPENSOAP_API
00121     OpenSOAPStreamReadChunkedDataStream(OpenSOAPStreamPtr /* [in] */ s,
00122                                         OpenSOAPStreamPtr /* [out] */ out);
00123     
00134     int
00135     OPENSOAP_API
00136     OpenSOAPStreamReadChunkedData(OpenSOAPStreamPtr /* [in] */ s,
00137                                   OpenSOAPByteArrayPtr /* [out] */ buf);
00138     
00151     int
00152     OPENSOAP_API
00153     OpenSOAPStreamReadWithSize(OpenSOAPStreamPtr /* [in] */ s,
00154                                size_t /* [in] */ sz,
00155                                OpenSOAPByteArrayPtr /* [out] */ buf);
00156 
00169     int
00170     OPENSOAP_API
00171     OpenSOAPStreamReadWithSizeStream(OpenSOAPStreamPtr /* [in] */ s,
00172                                      size_t /* [in] */ sz,
00173                                      OpenSOAPStreamPtr /* [out] */ out);
00174 
00187     int
00188     OPENSOAP_API
00189     OpenSOAPStreamWriteByteArray(OpenSOAPStreamPtr /* [in] */ s,
00190                                  OpenSOAPByteArrayPtr /* [in] */ buf,
00191                                  size_t * /* [out] */ write_sz);
00192     
00193 #ifdef __cplusplus
00194 }
00195 #endif /* __cplusplus */
00196 
00197 #endif /* OpenSOAP_Stream_H */

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