diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-02-28 07:44:19 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-02-28 07:44:19 +0000 |
commit | d62ff46dee0080e4470c03496614245f23c68a2d (patch) | |
tree | 2a6f0fbd7ce92cb34f7ec671f6beff15c0b872e9 /pjlib/include/pj/config.h | |
parent | a8f0337ed01c61809d5ff4b0ae026cbae142b697 (diff) |
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
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r-- | pjlib/include/pj/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
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() */ |