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: Fri, 24 Sep 2004 16:58:05 +0200

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

Modified Files:
        gsasl-mech.h gsasl.h.in 
Log Message:
Move.

--- /home/cvs/gsasl/lib/src/gsasl-mech.h        2004/09/24 14:27:37     1.2
+++ /home/cvs/gsasl/lib/src/gsasl-mech.h        2004/09/24 14:58:05     1.3
@@ -57,4 +57,7 @@
 };
 typedef struct Gsasl_mechanism Gsasl_mechanism;
 
+/* Register new mechanism: register.c. */
+extern int gsasl_register (Gsasl * ctx, const Gsasl_mechanism * mech);
+
 #endif /* GSASL_MECH_H */
--- /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/24 14:07:15     1.29
+++ /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/24 14:58:05     1.30
@@ -192,16 +192,11 @@
   typedef int (*Gsasl_callback_function) (Gsasl * ctx, Gsasl_session * sctx,
                                          Gsasl_property prop);
 
-# include <gsasl-mech.h>       /* Gsasl_mechanism */
-
   /* Library entry and exit points: version.c, init.c, done.c */
   extern int gsasl_init (Gsasl ** ctx);
   extern void gsasl_done (Gsasl * ctx);
   extern const char *gsasl_check_version (const char *req_version);
 
-  /* Register new mechanism: register.c. */
-  extern int gsasl_register (Gsasl * ctx, const Gsasl_mechanism * mech);
-
   /* Callback handling: callback.c */
   extern void gsasl_application_data_set (Gsasl * ctx, void *appdata);
   extern void *gsasl_application_data_get (Gsasl * ctx);
@@ -281,6 +276,9 @@
   extern int gsasl_hmac_md5 (const char *key, size_t keylen,
                             const char *in, size_t inlen, char *outhash[16]);
 
+  /* Get the mechanism API. */
+# include <gsasl-mech.h>
+
   /* For compatibility with earlier versions. */
 # include <gsasl-compat.h>
 





reply via email to

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