- added SC_ERROR_DATA_OBJECT_NOT_FOUND
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1577 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
323240fa44
commit
ef4f132e61
|
@ -61,6 +61,7 @@ const char *sc_strerror(int error)
|
||||||
"Unknown data received from card",
|
"Unknown data received from card",
|
||||||
"PIN code or key incorrect",
|
"PIN code or key incorrect",
|
||||||
"File already exists",
|
"File already exists",
|
||||||
|
"Data object not found",
|
||||||
};
|
};
|
||||||
const int card_base = -SC_ERROR_CARD_CMD_FAILED;
|
const int card_base = -SC_ERROR_CARD_CMD_FAILED;
|
||||||
const char *arg_errors[] = {
|
const char *arg_errors[] = {
|
||||||
|
|
|
@ -63,6 +63,7 @@ extern "C" {
|
||||||
#define SC_ERROR_UNKNOWN_DATA_RECEIVED -1213
|
#define SC_ERROR_UNKNOWN_DATA_RECEIVED -1213
|
||||||
#define SC_ERROR_PIN_CODE_INCORRECT -1214
|
#define SC_ERROR_PIN_CODE_INCORRECT -1214
|
||||||
#define SC_ERROR_FILE_ALREADY_EXISTS -1215
|
#define SC_ERROR_FILE_ALREADY_EXISTS -1215
|
||||||
|
#define SC_ERROR_DATA_OBJECT_NOT_FOUND -1216
|
||||||
|
|
||||||
/* Returned by OpenSC library when called with invalid arguments */
|
/* Returned by OpenSC library when called with invalid arguments */
|
||||||
#define SC_ERROR_INVALID_ARGUMENTS -1300
|
#define SC_ERROR_INVALID_ARGUMENTS -1300
|
||||||
|
|
Loading…
Reference in New Issue