00001 /* 00002 * Copyright (c) Members of the EGEE Collaboration. 2006-2010. 00003 * See http://www.eu-egee.org/partners/ for details on the copyright holders. 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 /* 00019 * Argus PEP client API 00020 * 00021 * $Id$ 00022 * @author Valery Tschopp <valery.tschopp@switch.ch> 00023 * @version 1.0 00024 */ 00025 #ifndef _PEP_PIP_H_ 00026 #define _PEP_PIP_H_ 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 #include "xacml.h" 00033 00054 typedef int pip_init_func(void); 00055 00066 typedef int pip_process_func(xacml_request_t **); 00067 00076 typedef int pip_destroy_func(void); 00077 00081 typedef struct pep_pip { 00082 char * id; 00083 pip_init_func * init; 00084 pip_process_func * process; 00085 pip_destroy_func * destroy; 00086 } pep_pip_t; 00087 00091 #ifdef __cplusplus 00092 } 00093 #endif 00094 00095 #endif