diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-03-23 08:24:58 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-03-23 08:24:58 +0000 |
commit | 4db56d31d12520c8221ccf846af4e5138e12695c (patch) | |
tree | f646bb705704cd2a976825a33a685a6a57af6888 /pjlib/include/pj/types.h | |
parent | 759520a6f180a638027fdc7be58e12772247fe47 (diff) |
Re #1417 (misc): added that app should call pj_srand() initially in pj_init() documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3987 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/types.h')
-rw-r--r-- | pjlib/include/pj/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/include/pj/types.h b/pjlib/include/pj/types.h index 31ba46dc..1e434dd3 100644 --- a/pjlib/include/pj/types.h +++ b/pjlib/include/pj/types.h @@ -290,6 +290,9 @@ typedef int pj_exception_id_t; * in random string generation, and to initialize operating system dependent * functionality (such as WSAStartup() in Windows). * + * Apart from calling pj_init(), application typically should also initialize + * the random seed by calling pj_srand(). + * * @return PJ_SUCCESS on success. */ PJ_DECL(pj_status_t) pj_init(void); |