rp_policy_creator.h

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 RP_POLICY_CREATOR_H
00018 #define RP_POLICY_CREATOR_H
00019 
00025 #include <axiom.h>
00026 #include <axis2_util.h>
00027 #include <axutil_env.h>
00028 #include <axutil_log_default.h>
00029 #include <axutil_error_default.h>
00030 #include <stdio.h>
00031 #include <axiom_xml_reader.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038     AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
00039     rp_policy_create_from_file(
00040         const axutil_env_t *env,
00041         axis2_char_t *filename);
00042 
00043     AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
00044     rp_policy_create_from_om_node(
00045         const axutil_env_t *env,
00046         axiom_node_t *root);
00047 
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 #endif

Generated on Wed Sep 26 09:49:21 2007 for Axis2/C by  doxygen 1.4.6