From b8020b0e965e84609d973851c67fbac1406a0ca9 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 28 Nov 2006 20:30:04 +0000 Subject: [PATCH] Added SilcAuthResult. --- lib/silccore/silcauth.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/lib/silccore/silcauth.h b/lib/silccore/silcauth.h index 2e3d0fd4..f707dca3 100644 --- a/lib/silccore/silcauth.h +++ b/lib/silccore/silcauth.h @@ -57,10 +57,23 @@ typedef SilcUInt16 SilcAuthMethod; #define SILC_AUTH_PASSWORD 1 /* Passphrase authentication */ #define SILC_AUTH_PUBLIC_KEY 2 /* Public key authentication */ -/* Authentication protocol status message (used by all authentication - protocols in the SILC). */ -#define SILC_AUTH_OK 0 -#define SILC_AUTH_FAILED 1 +/****d* silccore/SilcAuthAPI/SilcAuthResult + * + * NAME + * + * typedef SilcUInt32 SilcAuthResult; + * + * DESCRIPTION + * + * Authentication protocol status. Used by all authentication protocols + * in SILC. + * + * SOURCE + */ +typedef SilcUInt32 SilcAuthResult; + +#define SILC_AUTH_OK 0 /* Authentication successful */ +#define SILC_AUTH_FAILED 1 /* Authentication failed */ /***/ /****s* silccore/SilcAuthAPI/SilcAuthPayload -- 2.24.0