diff options
-rw-r--r-- | pjlib/include/pj/errno.h | 5 | ||||
-rw-r--r-- | pjlib/src/pj/errno.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/pjlib/include/pj/errno.h b/pjlib/include/pj/errno.h index 3030d91d..8834a616 100644 --- a/pjlib/include/pj/errno.h +++ b/pjlib/include/pj/errno.h @@ -263,6 +263,11 @@ PJ_DECL(pj_status_t) pj_register_strerror(pj_status_t start_code, * Object already exists. */ #define PJ_EEXISTS (PJ_ERRNO_START_STATUS + 15)/* 70015 */ +/** + * @hideinitializer + * End of file. + */ +#define PJ_EEOF (PJ_ERRNO_START_STATUS + 16)/* 70016 */ /** @} */ /* pj_errnum */ diff --git a/pjlib/src/pj/errno.c b/pjlib/src/pj/errno.c index 9c2d072f..9536288e 100644 --- a/pjlib/src/pj/errno.c +++ b/pjlib/src/pj/errno.c @@ -60,7 +60,8 @@ static const struct { PJ_ENOTSUP, "Option/operation is not supported"}, { PJ_EINVALIDOP, "Invalid operation"}, { PJ_ECANCELLED, "Operation cancelled"}, - { PJ_EEXISTS, "Object already exists" } + { PJ_EEXISTS, "Object already exists" }, + { PJ_EEOF, "End of file" }, }; /* |