Main Page | File List | File Members

Service.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: Service.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_Service_H
00012 #define OpenSOAP_Service_H
00013 
00014 #include <OpenSOAP/Envelope.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPService OpenSOAPService;
00031 
00036     typedef OpenSOAPService    *OpenSOAPServicePtr;
00037 
00050     typedef
00051     int
00052     (*OpenSOAPServiceFuncPtr)(/* [in]  */ OpenSOAPEnvelopePtr request,
00053                               /* [out] */ OpenSOAPEnvelopePtr *response,
00054                               /* [in, out] */ void *opt);
00055 
00070     int
00071     OPENSOAP_API
00072     OpenSOAPServiceCreateMB(/* [out] */ OpenSOAPServicePtr *srv,
00073                             /* [in]  */ const char *srv_name,
00074                             /* [in]  */ const char *connect_type,
00075                             /* [in]  */ int is_loop,
00076                             ...);
00077 
00092     int
00093     OPENSOAP_API
00094     OpenSOAPServiceCreateWC(/* [out] */ OpenSOAPServicePtr *srv,
00095                             /* [in]  */ const wchar_t *srv_name,
00096                             /* [in]  */ const char *connect_type,
00097                             /* [in]  */ int is_loop,
00098                             ...);
00099 
00108     int
00109     OPENSOAP_API
00110     OpenSOAPServiceRelease(/* [in, out] */ OpenSOAPServicePtr srv);
00111     
00128     int
00129     OPENSOAP_API
00130     OpenSOAPServiceRegisterMB(/* [in, out] */ OpenSOAPServicePtr srv,
00131                               /* [in] */ const char *name,
00132                               /* [in] */ OpenSOAPServiceFuncPtr func,
00133                               /* [in] */ void *opt);
00134 
00151     int
00152     OPENSOAP_API
00153     OpenSOAPServiceRegisterWC(/* [in, out] */ OpenSOAPServicePtr srv,
00154                               /* [in] */ const wchar_t *name,
00155                               /* [in] */ OpenSOAPServiceFuncPtr func,
00156                               /* [in] */ void *opt);
00157 
00166     int
00167     OPENSOAP_API
00168     OpenSOAPServiceRun(/* [in, out] */ OpenSOAPServicePtr srv);
00169     
00170 #ifdef __cplusplus
00171 }
00172 #endif /* __cplusplus */
00173 
00174 #endif /* OpenSOAP_Service_H */

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