gsasl-commit
[Top][All Lists]
Advanced

[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:01:22 +0200

Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv32624

Modified Files:
        callback.c 
Log Message:
Doc fix.


--- /home/cvs/gsasl/lib/src/callback.c  2004/09/18 16:22:00     1.4
+++ /home/cvs/gsasl/lib/src/callback.c  2004/09/18 18:01:22     1.5
@@ -48,7 +48,7 @@
  * different function.
  **/
 void
-gsasl_callback_set (Gsasl_session * sctx, Gsasl_callback cb)
+gsasl_callback_set (Gsasl_session * sctx, Gsasl_callback_function cb)
 {
   sctx->cb = cb;
 }
@@ -80,7 +80,7 @@
  * different function.
  **/
 void
-gsasl_callback_set_global (Gsasl * ctx, Gsasl_callback cb)
+gsasl_callback_set_global (Gsasl * ctx, Gsasl_callback_function cb)
 {
   ctx->cb = cb;
 }
@@ -257,3 +257,18 @@
 {
   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.
+ **/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]