diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-27 02:28:57 +0200 |
commit | e1265fa32837f457ee2c2fa259d12c9545af4bbf (patch) | |
tree | 64b8d5f1c81c14f019047b0cb00cb77c2dcecf55 /error.h | |
parent | a37beb44d59cca329d0d9345c21505af81030688 (diff) | |
download | ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.gz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.bz2 ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.xz ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.zip |
First stand-alone ipecamera implementation
Diffstat (limited to 'error.h')
-rw-r--r-- | error.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/error.h b/error.h deleted file mode 100644 index 20d1c09..0000000 --- a/error.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _PCILIB_ERROR_H -#define _PCILIB_ERROR_H - -#include <errno.h> - -enum { - PCILIB_ERROR_SUCCESS = 0, - PCILIB_ERROR_MEMORY = ENOMEM, - PCILIB_ERROR_INVALID_REQUEST = EBADR, - PCILIB_ERROR_INVALID_ADDRESS = EFAULT, - PCILIB_ERROR_INVALID_BANK = ENOENT, - PCILIB_ERROR_INVALID_DATA = EILSEQ, - PCILIB_ERROR_INVALID_STATE = EBADFD, - PCILIB_ERROR_INVALID_ARGUMENT = EINVAL, - PCILIB_ERROR_TIMEOUT = ETIME, - PCILIB_ERROR_FAILED = EBADE, - PCILIB_ERROR_VERIFY = EREMOTEIO, - PCILIB_ERROR_NOTSUPPORTED = ENOTSUP, - PCILIB_ERROR_NOTFOUND = ESRCH, - PCILIB_ERROR_OUTOFRANGE = ERANGE, - PCILIB_ERROR_NOTAVAILABLE = ENAVAIL, - PCILIB_ERROR_NOTINITIALIZED = EBADFD, - PCILIB_ERROR_TOOBIG = EFBIG, - PCILIB_ERROR_OVERWRITTEN = ESTALE, - PCILIB_ERROR_BUSY = EBUSY -} pcilib_errot_t; - - -#ifndef _PCILIB_ERROR_C -extern void (*pcilib_error)(const char *msg, ...); -extern void (*pcilib_warning)(const char *msg, ...); -#endif /* _PCILIB_ERROR_C */ - -#endif /* _PCILIB_ERROR_H */ |