00001 00002 /* 00003 * Licensed to the Apache Software Foundation (ASF) under one or more 00004 * contributor license agreements. See the NOTICE file distributed with 00005 * this work for additional information regarding copyright ownership. 00006 * The ASF licenses this file to You under the Apache License, Version 2.0 00007 * (the "License"); you may not use this file except in compliance with 00008 * the License. You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 00019 #ifndef NEETHI_UTIL_H 00020 #define NEETHI_UTIL_H 00021 00027 #include <axis2_defines.h> 00028 #include <axutil_env.h> 00029 #include <neethi_includes.h> 00030 #include <neethi_policy.h> 00031 #include <neethi_engine.h> 00032 00033 #ifdef __cplusplus 00034 extern "C" 00035 { 00036 #endif 00037 00038 AXIS2_EXTERN neethi_policy_t *AXIS2_CALL 00039 neethi_util_create_policy_from_file( 00040 const axutil_env_t * env, 00041 axis2_char_t * file_name); 00042 00043 AXIS2_EXTERN neethi_policy_t *AXIS2_CALL 00044 neethi_util_create_policy_from_om( 00045 const axutil_env_t * env, 00046 axiom_node_t * root_node); 00047 00049 #ifdef __cplusplus 00050 } 00051 #endif 00052 00053 #endif /* NEETHI_UTIL_H */