# oxs_c14n.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #ifndef OXS_C14N_H
    00018 #define OXS_C14N_H
    00019
    00031 #include <axis2_const.h>
    00032 #include <axutil_error.h>
    00033 #include <axutil_utils_defines.h>
    00034 #include <axutil_utils.h>
    00035 #include <axutil_env.h>
    00036 #include <axutil_string.h>
    00037 #include <axiom_document.h>
    00038 #include <axutil_array_list.h>
    00039 #include <axutil_stream.h>
    00040
    00041
    00042 #ifdef __cplusplus
    00043 extern "C"
    00044 {
    00045 #endif
    00046
    00061     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00062     oxs_c14n_apply_algo(
    00063         const axutil_env_t *env,
    00064         const axiom_document_t *doc,
    00065         axis2_char_t **outbuf,
    00066         const axutil_array_list_t *ns_prefixes,
    00067         const axiom_node_t *node,
    00068         const axis2_char_t *algo
    00069     );
    00070
    00071 #if 0 /* these doesn't need to be public methods */
    00072
    00088     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00089     oxs_c14n_apply_stream(
    00090         const axutil_env_t *env,
    00091         const axiom_document_t *doc,
    00092         axis2_bool_t comments,
    00093         axutil_stream_t *stream,
    00094         const axis2_bool_t exclusive,
    00095         const axutil_array_list_t *ns_prefixes,
    00096         const axiom_node_t *node
    00097     );
    00098
    00099
    00117     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00118     oxs_c14n_apply (
    00119         const axutil_env_t *env,
    00120         const axiom_document_t *doc,
    00121         const axis2_bool_t comments,
    00122         axis2_char_t **outbuf,
    00123         const axis2_bool_t exclusive,
    00124         const axutil_array_list_t *ns_prefixes,
    00125         const axiom_node_t *node
    00126     );
    00127
    00141     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00142     oxs_c14n_apply_stream_algo(
    00143         const axutil_env_t *env,
    00144         const axiom_document_t *doc,
    00145         axutil_stream_t *stream,
    00146         const axutil_array_list_t *ns_prefixes,
    00147         const axiom_node_t *node,
    00148         const axis2_char_t* algo
    00149     );
    00150 #endif
    00151
    00152
    00153 #ifdef __cplusplus
    00154 }
    00156 #endif
    00157 #endif  /* OXS_C14N_H */