|
Packit |
6b81fa |
/*
|
|
Packit |
6b81fa |
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
|
Packit |
6b81fa |
*
|
|
Packit |
6b81fa |
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
Packit |
6b81fa |
* this file except in compliance with the License. You can obtain a copy
|
|
Packit |
6b81fa |
* in the file LICENSE in the source distribution or at
|
|
Packit |
6b81fa |
* https://www.openssl.org/source/license.html
|
|
Packit |
6b81fa |
*/
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
#ifndef HEADER_ENG_ERR_H
|
|
Packit |
6b81fa |
# define HEADER_ENG_ERR_H
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
# ifdef __cplusplus
|
|
Packit |
6b81fa |
extern "C" {
|
|
Packit |
6b81fa |
# endif
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
/* BEGIN ERROR CODES */
|
|
Packit |
6b81fa |
/*
|
|
Packit |
6b81fa |
* The following lines are auto generated by the script mkerr.pl. Any changes
|
|
Packit |
6b81fa |
* made after this point may be overwritten when the script is next run.
|
|
Packit |
6b81fa |
*/
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
int ERR_load_ENG_strings(void);
|
|
Packit |
6b81fa |
void ERR_unload_ENG_strings(void);
|
|
Packit |
6b81fa |
void ERR_ENG_error(int function, int reason, char *file, int line);
|
|
Packit |
6b81fa |
# define ENGerr(f,r) ERR_ENG_error((f),(r),__FILE__,__LINE__)
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
/* Error codes for the ENG functions. */
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
/* Function codes. */
|
|
Packit |
6b81fa |
# define ENG_F_CTX_CTRL_LOAD_CERT 102
|
|
Packit |
6b81fa |
# define ENG_F_CTX_CTRL_SET_PIN 106
|
|
Packit |
6b81fa |
# define ENG_F_CTX_ENGINE_CTRL 105
|
|
Packit |
6b81fa |
# define ENG_F_CTX_LOAD_CERT 100
|
|
Packit |
6b81fa |
# define ENG_F_CTX_LOAD_KEY 101
|
|
Packit |
6b81fa |
# define ENG_F_CTX_LOAD_PRIVKEY 103
|
|
Packit |
6b81fa |
# define ENG_F_CTX_LOAD_PUBKEY 104
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
/* Reason codes. */
|
|
Packit |
6b81fa |
# define ENG_R_INVALID_ID 100
|
|
Packit |
6b81fa |
# define ENG_R_INVALID_PARAMETER 103
|
|
Packit |
6b81fa |
# define ENG_R_OBJECT_NOT_FOUND 101
|
|
Packit |
6b81fa |
# define ENG_R_UNKNOWN_COMMAND 102
|
|
Packit |
6b81fa |
|
|
Packit |
6b81fa |
# ifdef __cplusplus
|
|
Packit |
6b81fa |
}
|
|
Packit |
6b81fa |
# endif
|
|
Packit |
6b81fa |
#endif
|