axiom_mime_parser.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXIOM_MIME_PARSER_H
00019 #define AXIOM_MIME_PARSER_H
00020 
00026 #include <axutil_utils.h>
00027 #include <axutil_error.h>
00028 #include <axutil_utils_defines.h>
00029 #include <axutil_env.h>
00030 #include <axutil_allocator.h>
00031 #include <axutil_string.h>
00032 #include <axutil_hash.h>
00033 #include <axiom_mime_const.h>
00034 
00035 #ifdef __cplusplus
00036 extern "C"
00037 {
00038 #endif
00039 
00040     typedef struct axiom_mime_parser axiom_mime_parser_t;
00041 
00042 
00048     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00049     axiom_mime_parser_parse(axiom_mime_parser_t *mime_parser,
00050         const axutil_env_t *env,
00051         AXIS2_READ_INPUT_CALLBACK,
00052         void *callback_ctx,
00053         axis2_char_t *mime_boundary);
00054 
00055     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
00056     axiom_mime_parser_get_mime_parts_map(axiom_mime_parser_t *mime_parser,
00057         const axutil_env_t *env);
00058 
00062     AXIS2_EXTERN void AXIS2_CALL
00063     axiom_mime_parser_free(axiom_mime_parser_t *mime_parser,
00064         const axutil_env_t *env);
00065 
00066     AXIS2_EXTERN int AXIS2_CALL
00067     axiom_mime_parser_get_soap_body_len(axiom_mime_parser_t *mime_parser,
00068        const axutil_env_t *env);
00069 
00070     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00071     axiom_mime_parser_get_soap_body_str(axiom_mime_parser_t *mime_parser,
00072         const axutil_env_t *env);
00073 
00078     AXIS2_EXTERN axiom_mime_parser_t * AXIS2_CALL
00079     axiom_mime_parser_create(const axutil_env_t *env);
00080 
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 #endif  /* AXIOM_MIME_PARSER_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6