Logo Search packages:      
Sourcecode: gsoap version File versions

mod_gsoap.c File Reference

Detailed Description

Apache gSOAP module for Apache 2.0

author Christian Aberger (http://www.aberger.at) ported to 2.0 Mick Wall (mick@mickandwendy.com) updated by Robert van Engelen (engelen@acm.org)

Contributed to the gSOAP package under the terms and conditions of the gSOAP open source public license.

Definition in file mod_gsoap.c.

#include <stdio.h>
#include <assert.h>
#include "apr_strings.h"
#include "apr_fnmatch.h"
#include "apr_lib.h"
#include "apr_pools.h"
#include "apr_want.h"
#include "httpd.h"
#include "http_request.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "http_main.h"
#include "http_protocol.h"
#include "util_script.h"
#include "stdsoap2.h"
#include "apache_gsoap.h"

Go to the source code of this file.


struct  gsoapConfiguration_S
struct  gsoapRequestConfiguration_S
struct  SoapSharedLibraries_S
struct  SoapSharedLibrary_S


#define DLOPEN(a, b)   dlopen(a,b)
#define DLSYM(a, b)   dlsyn(a,b)
#define false   0
#define GSOAP_ID   "Apache 2.0 mod_gsoap gsoap httpd extension 0.0.5"
#define IOBUF_CHUNK_SIZE   8192
#define true   ((int)0xffff)


typedef int bool
typedef const char *(* command_function_interface )()
typedef enum enConfigurationType ConfigurationType
typedef struct gsoapConfiguration_S gsoapConfiguration
typedef struct
typedef struct
typedef struct SoapSharedLibrary_S SoapSharedLibrary


enum  enConfigurationType { ct_server = 1, ct_directory = 2, ct_both = 3 }


static bool AddSharedLibrary (gsoapConfiguration *pConfig, const char *pszPath, const bool bIsSOAPLibrary)
static const char * cmd_SoapLibrary (cmd_parms *cmd, void *mconfig, const char *pszPath)
static const char * cmd_SupportLibrary (cmd_parms *cmd, void *mconfig, const char *pszPath)
static int fpoll (struct soap *psoap)
static size_t frecv (struct soap *psoap, char *pBuf, apr_size_t len)
static int fsend (struct soap *psoap, const char *pBuf, apr_size_t len)
static gsoapConfigurationgetConfiguration (request_rec *r)
static gsoapRequestConfigurationgetRequestConfiguration (struct soap *)
static int gsoap_access_checker (request_rec *r)
static int gsoap_auth_checker (request_rec *r)
static int gsoap_check_user_id (request_rec *r)
static void gsoap_child_exit (server_rec *s, apr_pool_t *p)
static void gsoap_child_init (server_rec *s, apr_pool_t *p)
static void * gsoap_create_dir_config (apr_pool_t *p, char *dirspec)
static void * gsoap_create_server_config (apr_pool_t *p, server_rec *s)
static int gsoap_fixer_upper (request_rec *r)
static int gsoap_handler (request_rec *r)
static int gsoap_header_parser (request_rec *r)
static void gsoap_hooks (apr_pool_t *p)
static int gsoap_init (apr_pool_t *p, apr_pool_t *ptemp, apr_pool_t *plog, server_rec *psrec)
static int gsoap_logger (request_rec *r)
static void * gsoap_merge_dir_config (apr_pool_t *p, void *parent_conf, void *newloc_conf)
static void * gsoap_merge_server_config (apr_pool_t *p, void *server1_conf, void *server2_conf)
static int gsoap_post_read_request (request_rec *r)
static int gsoap_translate_handler (request_rec *r)
static int gsoap_type_checker (request_rec *r)
static gsoapConfigurationgsoapConfiguration_create (apr_pool_t *p)
static apr_pool_t * gsoapConfiguration_getModulePool ()
static void gsoapConfiguration_init (gsoapConfiguration *This, apr_pool_t *p)
static void gsoapConfiguration_merge (gsoapConfiguration *This, gsoapConfiguration *pParentConfig, gsoapConfiguration *pNewConfig)
static int http_parse (struct soap *psoap)
static int http_post_header (struct soap *soap, const char *key, const char *value)
static void ListHeaders (request_rec *r)
static int ListHeadersCallback (void *rec, const char *key, const char *value)
static void mod_gsoap_delete (struct soap *soap, struct soap_plugin *p)
static int mod_gsoap_plugin (struct soap *soap, struct soap_plugin *p, void *arg)
static int mod_gsoap_plugin_copy (struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src)
static int send_header_to_gsoap (void *pvoid, const char *key, const char *value)
static void SendErrorMessage (request_rec *r, const char *pszError)
static void set_callbacks (request_rec *r, gsoapRequestConfiguration *pRqConf, struct soap *psoap)
static void SoapSharedLibraries_addLibrary (SoapSharedLibraries *This, SoapSharedLibrary *pLibrary)
static void SoapSharedLibraries_clear (SoapSharedLibraries *This)
static bool SoapSharedLibraries_contains (SoapSharedLibraries *This, const char *pszPath)
static const char * SoapSharedLibraries_getEntryPoints (SoapSharedLibraries *This, SoapSharedLibrary *pLib, apr_pool_t *pTempPool)
static SoapSharedLibrarySoapSharedLibraries_getLibrary (SoapSharedLibraries *This, unsigned nIndex)
static void SoapSharedLibraries_init (SoapSharedLibraries *This, apr_pool_t *p)
static const char * SoapSharedLibraries_loadAllLibraries (SoapSharedLibraries *This, apr_pool_t *pTempPool)
static void SoapSharedLibraries_merge (SoapSharedLibraries *This, SoapSharedLibraries *pLibs)
static void SoapSharedLibraries_merge3 (SoapSharedLibraries *This, SoapSharedLibraries *libraries1, SoapSharedLibraries *libraries2)
static const char * SoapSharedLibraries_unloadAllLibraries (SoapSharedLibraries *This)
static void SoapSharedLibrary_clear (SoapSharedLibrary *This, apr_pool_t *p)
static SoapSharedLibrarySoapSharedLibrary_create (apr_pool_t *p)
static void SoapSharedLibrary_init (SoapSharedLibrary *This, apr_pool_t *p, const SoapSharedLibrary *pLib)
static void SoapSharedLibrary_init2 (SoapSharedLibrary *This, apr_pool_t *p, const char *pszPath)
static const char * SoapSharedLibrary_load (SoapSharedLibrary *This, apr_pool_t *pTempPool)
static const char * SoapSharedLibrary_unload (SoapSharedLibrary *This)


static const command_rec gsoap_cmds []
module AP_MODULE_DECLARE_DATA gsoap_module
static char mod_gsoap_id [] = GSOAP_ID
static apr_pool_t * the_gsoapPool = NULL

Generated by  Doxygen 1.6.0   Back to index