Module: sip-router
Branch: master
Commit: 7ea685c439f5081e9bf7f9e37c62cdcfb2638bcb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7ea685c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Nov 14 22:07:50 2011 +0100
auth: added new error code to auth API
- AUTH_USER_MISMATCH = -8 -- to be returned when auth user mistmach
from/to header user
---
modules/auth/api.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/auth/api.h b/modules/auth/api.h
index 976a547..9e21c0c 100644
--- a/modules/auth/api.h
+++ b/modules/auth/api.h
@@ -44,6 +44,7 @@
* return codes to config by auth functions
*/
typedef enum auth_cfg_result {
+ AUTH_USER_MISMATCH = -8, /*!< Auth user != From/To user */
AUTH_NONCE_REUSED = -6, /*!< Returned if nonce is used more than once */
AUTH_NO_CREDENTIALS = -5, /*!< Credentials missing */
AUTH_STALE_NONCE = -4, /*!< Stale nonce */