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:18:54 +0200

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

Modified Files:
        gsasl.h.in callback.c 
Log Message:
Move.


--- /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 17:57:20     1.14
+++ /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 18:18:54     1.15
@@ -157,7 +157,28 @@
     GSASL_SERVER_CIPHER
   } Gsasl_property;
 
-  /* Callback function prototype. */
+  /**
+   * 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.
+   **/
   typedef int (*Gsasl_callback_function) (Gsasl * ctx, Gsasl_session * sctx,
                                          Gsasl_property prop);
 
--- /home/cvs/gsasl/lib/src/callback.c  2004/09/18 18:05:37     1.6
+++ /home/cvs/gsasl/lib/src/callback.c  2004/09/18 18:18:54     1.7
@@ -19,29 +19,6 @@
  *
  */
 
-/**
- * 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"
 
 /**





reply via email to

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