argus/error.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: error.h 2721 2012-01-19 09:18:14Z vtschopp $
00022  * @author Valery Tschopp <valery.tschopp@switch.ch>
00023  * @version 1.0
00024  */
00025 #ifndef _PEP_ERROR_H_
00026 #define _PEP_ERROR_H_
00027 
00028 #ifdef  __cplusplus
00029 extern "C" {
00030 #endif
00031 
00059 typedef enum {
00060     PEP_OK = 0, 
00061     PEP_ERR_MEMORY, 
00062     PEP_ERR_NULL_POINTER, 
00063     PEP_ERR_LLIST, 
00064     PEP_ERR_PIP_INIT, 
00065     PEP_ERR_OH_INIT, 
00066     PEP_ERR_OPTION_INVALID, 
00067     PEP_ERR_PIP_PROCESS, 
00068     PEP_ERR_AUTHZ_REQUEST, 
00069     PEP_ERR_OH_PROCESS, 
00070     PEP_ERR_MARSHALLING_HESSIAN, 
00071     PEP_ERR_MARSHALLING_IO, 
00072     PEP_ERR_UNMARSHALLING_HESSIAN, 
00073     PEP_ERR_UNMARSHALLING_IO, 
00074     PEP_ERR_CURL = 1024 
00075 } pep_error_t;
00076 
00083 const char * pep_strerror(pep_error_t pep_errno);
00084 
00087 #ifdef  __cplusplus
00088 }
00089 #endif
00090 
00091 #endif 

Generated on Wed May 16 13:13:23 2012 for Argus PEP client API by  doxygen 1.4.7