• Main Page
  • Modules
  • Files
  • File List

xacml_client.h

00001 /*
00002  * Copyright 1999-2008 University of Chicago
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef XACML_CLIENT_H
00018 #define XACML_CLIENT_H
00019 
00020 #include "xacml_datatypes.h"
00021 #include "xacml.h"
00022 
00023 #ifndef DONT_DOCUMENT_INTERNAL
00024 EXTERN_C_BEGIN
00025 #endif
00026 
00030 xacml_result_t
00031 xacml_request_add_obligation_handler(
00032     xacml_request_t                     request,
00033     xacml_obligation_handler_t          handler,
00034     void *                              handler_arg,
00035     const char *                        obligation_id);
00036 
00037 xacml_result_t
00038 xacml_query(
00039     const char *                        endpoint,
00040     xacml_request_t                     request,
00041     xacml_response_t                    response);
00042 
00043 #ifndef DONT_DOCUMENT_INTERNAL
00044 EXTERN_C_END
00045 #endif
00046 
00047 #endif /* XACML_CLIENT_H */