• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

argus/oh.h

Go to the documentation of this file.
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_OH_H_
00026 #define _PEP_OH_H_
00027 
00028 #ifdef  __cplusplus
00029 extern "C" {
00030 #endif
00031 
00032 #include "xacml.h"
00033 
00054 typedef int oh_init_func(void);
00055 
00068 typedef int oh_process_func(xacml_request_t **, xacml_response_t **);
00069 
00078 typedef int oh_destroy_func(void);
00079 
00083 typedef struct pep_obligationhandler {
00084     char * id; 
00085     oh_init_func * init; 
00086     oh_process_func * process; 
00087     oh_destroy_func * destroy; 
00088 } pep_obligationhandler_t;
00092 #ifdef  __cplusplus
00093 }
00094 #endif
00095 
00096 #endif

Generated on Tue Mar 5 2013 12:53:28 for Argus PEP client API by  doxygen 1.7.1