Main Page | File List | File Members

ClientSocket.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: ClientSocket.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_ClientSocket_H
00012 #define OpenSOAP_ClientSocket_H
00013 
00014 #include <OpenSOAP/ByteArray.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPClientSocket OpenSOAPClientSocket;
00031 
00036     typedef OpenSOAPClientSocket    *OpenSOAPClientSocketPtr;
00037 
00046     extern
00047     int
00048     OPENSOAP_API
00049     OpenSOAPClientSocketCreate(OpenSOAPClientSocketPtr * /* [out] */ s);
00050     
00059     extern
00060     int
00061     OPENSOAP_API
00062     OpenSOAPClientSocketCreateSecure(/* [out] */ OpenSOAPClientSocketPtr *s);
00063 
00072     extern
00073     int
00074     OPENSOAP_API
00075     OpenSOAPClientSocketRelease(OpenSOAPClientSocketPtr /* [in] */ s);
00076     
00089     extern
00090     int
00091     OPENSOAP_API
00092     OpenSOAPClientSocketOpen(OpenSOAPClientSocketPtr /* [in] */ s,
00093                              const char * /* [in] */ node,
00094                              const char * /* [in] */ service);
00095     
00104     extern
00105     int
00106     OPENSOAP_API
00107     OpenSOAPClientSocketClose(OpenSOAPClientSocketPtr /* [in] */ s);
00108     
00121     extern
00122     int
00123     OPENSOAP_API
00124     OpenSOAPClientSocketRead(OpenSOAPClientSocketPtr /* [in] */ s,
00125                              unsigned char * /* [out] */ buf,
00126                              size_t * /* [in, out] */ buf_sz);
00127     
00140     extern
00141     int
00142     OPENSOAP_API
00143     OpenSOAPClientSocketWrite(OpenSOAPClientSocketPtr /* [in] */ s,
00144                               const unsigned char * /* [in] */ buf,
00145                               size_t * /* [in, out] */ buf_sz);
00146     
00161     extern
00162     int
00163     OPENSOAP_API
00164     OpenSOAPClientSocketReadToDelm(OpenSOAPClientSocketPtr /* [in] */ s,
00165                                    const unsigned char * /* [in] */ delm,
00166                                    size_t /* [in] */ delm_sz,
00167                                    OpenSOAPByteArrayPtr /* [out] */ buf);
00168 
00169 #if 0    
00170 
00182     int
00183     OPENSOAP_API
00184     OpenSOAPClientSocketReadWithSize(OpenSOAPClientSocketPtr /* [in] */ s,
00185                                      size_t /* [in] */ sz,
00186                                      OpenSOAPByteArrayPtr /* [out] */ buf);
00187 #endif
00188     
00189 #ifdef __cplusplus
00190 }
00191 #endif /* __cplusplus */
00192 
00193 #endif /* OpenSOAP_ClientSocket_H */

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