# ELResult

## Definition

      #include <twl/el.h>

      typedef enum ELResult {
        EL_RESULT_SUCCESS = 0,
        EL_RESULT_FAILURE = 1,
        EL_RESULT_INVALID_PARAMETER,
        EL_RESULT_INVALID_ELF,
        EL_RESULT_UNSUPPORTED_ELF,
        EL_RESULT_CANNOT_ACCESS_ELF,
        EL_RESULT_NO_MORE_RESOURCE
      } ELResult;

## Description

Enumeration type expressing the results of the link processing of the EL library.
They are defined as follows.

EL_RESULT_SUCCESS | The process has succeeded.
EL_RESULT_FAILURE | The link process has failed because it was not initialized.
EL_RESULT_INVALID_PARAMETER | An invalid element has been passed to the library.
EL_RESULT_INVALID_ELF | There is an invalid item in the ELF file.
EL_RESULT_UNSUPPORTED_ELF | The ELF file is in a format that the library does not support.
EL_RESULT_CANNOT_ACCESS_ELF | The ELF file failed to OPEN or READ.
EL_RESULT_NO_MORE_RESOURCE | Allocating dynamic memory internally in the library failed, or the buffer size specified by one of the `EL_Link*Ex` functions is insufficient.

## Revision History

2009/03/16 Added condition for `EL_RESULT_NO_MORE_RESOURCE` to occur.
2009/01/14 Initial version.

CONFIDENTIAL