/* * Copyright 2005 - 2008 WSO2, Inc. http://wso2.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef WSF_WORKER_H #define WSF_WORKER_H #include #include #include #include #include "wsf_defs.h" #ifdef __cplusplus extern "C" { #endif typedef struct wsf_worker_t wsf_worker_t; wsf_worker_t* wsf_worker_create (const axutil_env_t* env, axis2_char_t* repo_path); axis2_char_t* wsf_worker_get_bytes (const axutil_env_t* env, axutil_stream_t* stream); int wsf_worker_process_request (wsf_worker_t* worker, axutil_env_t* env, wsf_req_info_t* reqinfo, wsf_svc_info_t* svc_info); axis2_conf_ctx_t* wsf_worker_get_conf_ctx (wsf_worker_t* worker, const axutil_env_t* env); void wsf_worker_free (wsf_worker_t* worker, const axutil_env_t* env); #ifdef __cplusplus } #endif #endif /* WSF_WORKER_H */