浏览代码

auth: added new error code to auth API

- AUTH_USER_MISMATCH = -8 -- to be returned when auth user mistmach
  from/to header user
Daniel-Constantin Mierla 14 年之前
父节点
当前提交
7ea685c439
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/auth/api.h

+ 1 - 0
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 */