소스 검색

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 */