From: Pekka Riikonen Date: Tue, 28 Nov 2006 20:30:04 +0000 (+0000) Subject: Added SilcAuthResult. X-Git-Tag: silc.client.1.1.beta1~168 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=b8020b0e965e84609d973851c67fbac1406a0ca9;p=silc.git Added SilcAuthResult. --- 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