[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Sat, 18 Sep 2004 20:05:37 +0200 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv32660
Modified Files:
callback.c
Log Message:
Doc fix.
--- /home/cvs/gsasl/lib/src/callback.c 2004/09/18 18:01:22 1.5
+++ /home/cvs/gsasl/lib/src/callback.c 2004/09/18 18:05:37 1.6
@@ -19,6 +19,29 @@
*
*/
+/**
+ * Gsasl_callback_function:
+ * @ctx: libgsasl handle.
+ * @sctx: session handle, may be NULL.
+ * @prop: enumerated value of Gsasl_property type.
+ *
+ * Prototype of function that the application should implement. Use
+ * gsasl_callback_set() or gsasl_callback_set_global() to inform the
+ * library about your callback function.
+ *
+ * It is called by the SASL library when it need some information from
+ * the application. Depending on the value of @prop, it should either
+ * set some property (e.g., username or password) using
+ * gsasl_property_set() and gsasl_property_set_global(), or it should
+ * extract some properties (e.g., authentication and authorization
+ * identities) using gsasl_property_fast() and use them to make a
+ * policy decision, perhaps returning GSASL_AUTHENTICATION_ERROR or
+ * GSASL_OK depending on whether the policy permitted the operation.
+ *
+ * Return value: Any valid return code, the interpretation of which
+ * depend on the @prop value.
+ **/
+
#include "internal.h"
/**
@@ -257,18 +280,3 @@
{
return sctx->application_data;
}
-
-/**
- * Gsasl_callback_function:
- * @ctx: libgsasl handle.
- * @sctx: session handle, may be NULL.
- * @prop: enumerated value of Gsasl_property type.
- *
- * Prototype of function that the application should implement.
- *
- * It is called by the SASL library when it need some information from
- * the application.
- *
- * Return value: Any valid return code, the interpretation of which
- * depend on the @prop value.
- **/
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/18
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20
- CVS gsasl/lib/src, gsasl-commit, 2004/09/20