neethi_exactlyone.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 NEETHI_EXACTLYONE_H
00019 #define NEETHI_EXACTLYONE_H
00020 
00021 
00027 #include <axis2_defines.h>
00028 #include <axutil_env.h>
00029 #include <neethi_operator.h>
00030 #include <neethi_includes.h>
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00037         typedef struct neethi_exactlyone_t neethi_exactlyone_t; 
00038 
00039         AXIS2_EXTERN neethi_exactlyone_t *AXIS2_CALL
00040         neethi_exactlyone_create(const axutil_env_t *env);
00041 
00042         AXIS2_EXTERN void AXIS2_CALL
00043         neethi_exactlyone_free(neethi_exactlyone_t *neethi_exactlyone,
00044                 const axutil_env_t *env);
00045                 
00046         AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00047         neethi_exactlyone_get_policy_components(
00048             neethi_exactlyone_t *neethi_exactlyone,
00049             const axutil_env_t *env);
00050 
00051         AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052         neethi_exactlyone_add_policy_components(
00053                 neethi_exactlyone_t *exactlyone,
00054                 axutil_array_list_t *arraylist,
00055                 const axutil_env_t *env);
00056 
00057         AXIS2_EXTERN axis2_status_t AXIS2_CALL
00058         neethi_exactlyone_add_operator(neethi_exactlyone_t *neethi_exactlyone,
00059             const axutil_env_t *env,
00060             neethi_operator_t *op);
00061 
00062         AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00063         neethi_exactlyone_is_empty(neethi_exactlyone_t *exactlyone,
00064             const axutil_env_t *env);
00065 
00066         AXIS2_EXTERN axis2_status_t AXIS2_CALL
00067         neethi_exactlyone_serialize(
00068             neethi_exactlyone_t *neethi_exactlyone,
00069             axiom_node_t *parent,
00070             const axutil_env_t *env);
00071         
00072         AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073         neethi_exactlyone_set_components_null(
00074             neethi_exactlyone_t *exactlyone,
00075             const axutil_env_t *env);
00076         
00077 
00078 
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083 
00084 #endif                          /* NEETHI_EXACTLYONE_H */

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