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 19:57:20 +0200

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

Modified Files:
        gsasl.h.in 
Log Message:
Doc fix.


--- /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 17:35:24     1.13
+++ /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 17:57:20     1.14
@@ -131,7 +131,7 @@
   typedef struct Gsasl_session Gsasl_session;
 
   /* Callback/property types. */
-  enum Gsasl_property
+  typedef enum
   {
     GSASL_CLIENT_ANONYMOUS,
     GSASL_CLIENT_AUTHID,
@@ -155,10 +155,11 @@
     GSASL_SERVER_QOP,
     GSASL_SERVER_MAXBUF,
     GSASL_SERVER_CIPHER
-  };
-  typedef enum Gsasl_property Gsasl_property;
-  typedef int (*Gsasl_callback) (Gsasl * ctx, Gsasl_session * sctx,
-                                Gsasl_property prop);
+  } Gsasl_property;
+
+  /* Callback function prototype. */
+  typedef int (*Gsasl_callback_function) (Gsasl * ctx, Gsasl_session * sctx,
+                                         Gsasl_property prop);
 
 /* Library entry and exit points: version.c, init.c, done.c */
   extern int gsasl_init (Gsasl ** ctx);
@@ -176,8 +177,10 @@
   extern void *gsasl_application_data_get (Gsasl * ctx);
   extern void gsasl_appinfo_set (Gsasl_session * sctx, void *appdata);
   extern void *gsasl_appinfo_get (Gsasl_session * sctx);
-  extern void gsasl_callback_set (Gsasl_session * sctx, Gsasl_callback cb);
-  extern void gsasl_callback_set_global (Gsasl * ctx, Gsasl_callback cb);
+  extern void gsasl_callback_set (Gsasl_session * sctx,
+                                 Gsasl_callback_function cb);
+  extern void gsasl_callback_set_global (Gsasl * ctx,
+                                        Gsasl_callback_function cb);
   extern int gsasl_callback (Gsasl_session * sctx, Gsasl_property prop);
   extern int gsasl_callback_global (Gsasl * ctx, Gsasl_property prop);
 





reply via email to

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