summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-05 13:37:41 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-05 13:37:41 +0000
commitc3bfa8ee3fae4ba793fb028db7b0ee09e5a5ff65 (patch)
tree23f670d0a4365a746cf88cd27c4ae1937f80af71
parent45d124e97c420f0fd466b4a320c1e4a7a65413ec (diff)
Added PJ_EEOF in pjlib errno.h
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@289 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjlib/include/pj/errno.h5
-rw-r--r--pjlib/src/pj/errno.c3
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" },
};
/*