Argus PEP client API  2.3
pip.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Members of the EGEE Collaboration. 2006-2010.
3  * See http://www.eu-egee.org/partners/ for details on the copyright holders.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 /*
19  * Argus PEP client API
20  *
21  * $Id$
22  * @author Valery Tschopp <valery.tschopp@switch.ch>
23  * @version 1.0
24  */
25 #ifndef _PEP_PIP_H_
26 #define _PEP_PIP_H_
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 #include "xacml.h"
33 
54 typedef int pip_init_func(void);
55 
67 
76 typedef int pip_destroy_func(void);
77 
81 typedef struct pep_pip {
82  char * id;
86 } pep_pip_t;
87 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif
struct pep_pip pep_pip_t
PIP type.
int pip_init_func(void)
PIP init function prototype.
Definition: pip.h:54
PIP type.
Definition: pip.h:81
char * id
unique identifier for the PIP
Definition: pip.h:82
pip_destroy_func * destroy
pointer to the PIP destroy function
Definition: pip.h:85
int pip_destroy_func(void)
PIP destroy function prototype.
Definition: pip.h:76
struct xacml_request xacml_request_t
PEP XACML Request type.
Definition: xacml.h:413
pip_process_func * process
pointer to PIP process function
Definition: pip.h:84
int pip_process_func(xacml_request_t **)
PIP process function prototype.
Definition: pip.h:66
pip_init_func * init
pointer to the PIP init function
Definition: pip.h:83