mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
Merged revisions 114591 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114591 | russell | 2008-04-23 12:55:31 -0500 (Wed, 23 Apr 2008) | 5 lines Store the manager session ID explicitly as 4 byte ID instead of a ulong. The mansession_id cookie is coded to be limited to 8 characters of hex, and this could break logins from 64-bit machines in some cases. (inspired by AST-20) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -157,7 +157,7 @@ int ast_manager_unregister( char *action );
|
||||
* \retval 1 if the session has the permission mask capabilities
|
||||
* \retval 0 otherwise
|
||||
*/
|
||||
int astman_verify_session_readpermissions(unsigned long ident, int perm);
|
||||
int astman_verify_session_readpermissions(uint32_t ident, int perm);
|
||||
|
||||
/*!
|
||||
* \brief Verify a session's write permissions against a permission mask.
|
||||
@@ -166,7 +166,7 @@ int astman_verify_session_readpermissions(unsigned long ident, int perm);
|
||||
* \retval 1 if the session has the permission mask capabilities, otherwise 0
|
||||
* \retval 0 otherwise
|
||||
*/
|
||||
int astman_verify_session_writepermissions(unsigned long ident, int perm);
|
||||
int astman_verify_session_writepermissions(uint32_t ident, int perm);
|
||||
|
||||
/*! \brief External routines may send asterisk manager events this way
|
||||
* \param category Event category, matches manager authorization
|
||||
|
||||
Reference in New Issue
Block a user