Man page - libr_status(3)
Packages contains this manual
Manual
libr_status
NAMESYNOPSIS
Enumerations
Detailed Description
Enumeration Type Documentation
enum libr_status
Author
NAME
libr_status - libr_status
- Enumeration of possible libr status values.
#include < libr.h >
SYNOPSIS
Enumerations
enum libr_status { LIBR_OK = 0, LIBR_ERROR_GETEHDR = -1, LIBR_ERROR_NOTABLE = -2, LIBR_ERROR_TABLE = -3, LIBR_ERROR_GETDATA = -4, LIBR_ERROR_GETSHDR = -5, LIBR_ERROR_SIZEMISMATCH = -6, LIBR_ERROR_UPDATE = -7, LIBR_ERROR_NEWSECTION = -8, LIBR_ERROR_NEWDATA = -9, LIBR_ERROR_REMOVESECTION = -10, LIBR_ERROR_NOSECTION = -11, LIBR_ERROR_STRPTR = -12, LIBR_ERROR_NOTRESOURCE = -13, LIBR_ERROR_EXPANDSECTION = -14, LIBR_ERROR_WRONGFORMAT = -15, LIBR_ERROR_SETFLAGS = -16, LIBR_ERROR_NOPERM = -17, LIBR_ERROR_NOSIZE = -18, LIBR_ERROR_SETFORMAT = -19, LIBR_ERROR_SETARCH = -20, LIBR_ERROR_OVERWRITE = -21, LIBR_ERROR_COMPRESS = -22, LIBR_ERROR_INVALIDTYPE = -23, LIBR_ERROR_MEMALLOC = -24, LIBR_ERROR_INVALIDPARAMS = -25, LIBR_ERROR_UNCOMPRESS = -26, LIBR_ERROR_ZLIBINIT = -27, LIBR_ERROR_OPENFAILED = -28, LIBR_ERROR_BEGINFAILED = -29, LIBR_ERROR_WRITEPERM = -30, LIBR_ERROR_UNSUPPORTED = -31 }
Detailed Description
Enumeration of possible libr status values.
#include < libr.h >
Enumeration Type Documentation
enum libr_status
Possible libr status values
Enumerator
LIBR_OK
Success
LIBR_ERROR_GETEHDR
Failed to obtain ELF header:
LIBR_ERROR_NOTABLE
No ELF string table
LIBR_ERROR_TABLE
Failed to open string table:
LIBR_ERROR_GETDATA
Failed to obtain data of section
LIBR_ERROR_GETSHDR
Failed to obtain ELF section header:
LIBR_ERROR_SIZEMISMATCH
Sectionβs data size does not make sense
LIBR_ERROR_UPDATE
Failed to perform dynamic update:
LIBR_ERROR_NEWSECTION
Failed to create new section
LIBR_ERROR_NEWDATA
Failed to create data for section
LIBR_ERROR_REMOVESECTION
Failed to remove section:
LIBR_ERROR_NOSECTION
ELF resource section not found
LIBR_ERROR_STRPTR
Failed to obtain section string pointer:
LIBR_ERROR_NOTRESOURCE
Not a valid libr-resource
LIBR_ERROR_EXPANDSECTION
Failed to expand section
LIBR_ERROR_WRONGFORMAT
Invalid input file format
LIBR_ERROR_SETFLAGS
Failed to set flags for section
LIBR_ERROR_NOPERM
Open handle with LIBR_READ_WRITE access
LIBR_ERROR_NOSIZE
Failed to obtain file size
LIBR_ERROR_SETFORMAT
Failed to set output file format to input file format
LIBR_ERROR_SETARCH
Failed to set output file architecture to input file architecture
LIBR_ERROR_OVERWRITE
Section already exists, over-write not specified
LIBR_ERROR_COMPRESS
Failed to compress resource data
LIBR_ERROR_INVALIDTYPE
Invalid data storage type specified
LIBR_ERROR_MEMALLOC
Failed to allocate memory for data
LIBR_ERROR_INVALIDPARAMS
Invalid parameters passed to function
LIBR_ERROR_UNCOMPRESS
Failed to uncompress resource data
LIBR_ERROR_ZLIBINIT
zlib library initialization failed
LIBR_ERROR_OPENFAILED
Failed to open input file
LIBR_ERROR_BEGINFAILED
Failed to open ELF file:
LIBR_ERROR_WRITEPERM
No write permission for file
LIBR_ERROR_UNSUPPORTED
The requested operation is not supported by the backend
Author
Generated automatically by Doxygen for libr from the source code.