From d62ff46dee0080e4470c03496614245f23c68a2d Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 28 Feb 2011 07:44:19 +0000 Subject: Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'pjlib/include/pj/config.h') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index bf05cbae..f75a7f34 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -1119,6 +1119,30 @@ PJ_BEGIN_DECL +/** PJLIB version major number. */ +#define PJ_VERSION_NUM_MAJOR 1 + +/** PJLIB version minor number. */ +#define PJ_VERSION_NUM_MINOR 8 + +/** PJLIB version revision number. */ +#define PJ_VERSION_NUM_REV 10 + +/** + * Extra suffix for the version (e.g. "-trunk"), or empty for + * web release version. + */ +#define PJ_VERSION_NUM_EXTRA "-trunk" + +/** + * PJLIB version number consists of three bytes with the following format: + * 0xMMIIRR00, where MM: major number, II: minor number, RR: revision + * number, 00: always zero for now. + */ +#define PJ_VERSION_NUM ((PJ_VERSION_NUM_MAJOR << 24) | \ + (PJ_VERSION_NUM_MINOR << 16) | \ + (PJ_VERSION_NUM_REV << 8)) + /** * PJLIB version string constant. @see pj_get_version() */ -- cgit v1.2.3