rp_policy_creator.h

00001 
00002 /*
00003  * Copyright 2004,2005 The Apache Software Foundation.
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * 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 RP_POLICY_CREATOR_H
00019 #define RP_POLICY_CREATOR_H
00020 
00026 #include <axiom.h>
00027 #include <axis2_util.h>
00028 #include <axutil_env.h>
00029 #include <axutil_log_default.h>
00030 #include <axutil_error_default.h>
00031 #include <stdio.h>
00032 #include <axiom_xml_reader.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039     AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
00040     rp_policy_create_from_file(
00041         const axutil_env_t * env,
00042         axis2_char_t * filename);
00043 
00044     AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
00045     rp_policy_create_from_om_node(
00046         const axutil_env_t * env,
00047         axiom_node_t * root);
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 #endif

Generated on Fri Apr 17 11:49:43 2009 for Axis2/C by  doxygen 1.5.3