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: Tue, 21 Sep 2004 01:30:23 +0200

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

Modified Files:
        obsolete.c gsasl.h.in gsasl-compat.h callback.c 
Log Message:
(gsasl_ctx_get): Obsolete.


--- /home/cvs/gsasl/lib/src/obsolete.c  2004/06/18 00:14:03     1.6
+++ /home/cvs/gsasl/lib/src/obsolete.c  2004/09/20 23:30:23     1.7
@@ -423,6 +423,9 @@
  * Store cryptographically random data of given size in the provided
  * buffer.
  *
+ * Note that this function is obsolete and may be removed in the
+ * future.
+ *
  * Return value: Returns %GSASL_OK iff successful.
  **/
 int
@@ -432,3 +435,18 @@
     return gsasl_random (data, datalen);
   return gsasl_nonce (data, datalen);
 }
+
+/**
+ * gsasl_ctx_get:
+ * @sctx: libgsasl session handle
+ *
+ * Note that this function is obsolete and may be removed in the
+ * future.
+ *
+ * Return value: Returns the libgsasl handle given a libgsasl session handle.
+ **/
+Gsasl *
+gsasl_ctx_get (Gsasl_session * sctx)
+{
+  return sctx->ctx;
+}
--- /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/18 18:18:54     1.15
+++ /home/cvs/gsasl/lib/src/gsasl.h.in  2004/09/20 23:30:23     1.16
@@ -193,7 +193,6 @@
   extern char *gsasl_stringprep_trace (const char *in, int *stringprep_rc);
 
 /* Callback handling: callback.c */
-  extern Gsasl *gsasl_ctx_get (Gsasl_session * sctx);
   extern void gsasl_application_data_set (Gsasl * ctx, void *appdata);
   extern void *gsasl_application_data_get (Gsasl * ctx);
   extern void gsasl_appinfo_set (Gsasl_session * sctx, void *appdata);
--- /home/cvs/gsasl/lib/src/gsasl-compat.h      2004/09/18 00:58:36     1.1
+++ /home/cvs/gsasl/lib/src/gsasl-compat.h      2004/09/20 23:30:23     1.2
@@ -253,5 +253,6 @@
                                               void *application_data);
 extern void *gsasl_server_application_data_get (Gsasl_session_ctx * sctx);
 extern int gsasl_randomize (int strong, char *data, size_t datalen);
+extern Gsasl *gsasl_ctx_get (Gsasl_session * sctx);
 
 #endif /* GSASL_COMPAT_H */
--- /home/cvs/gsasl/lib/src/callback.c  2004/09/18 18:18:54     1.7
+++ /home/cvs/gsasl/lib/src/callback.c  2004/09/20 23:30:23     1.8
@@ -178,18 +178,6 @@
 }
 
 /**
- * gsasl_ctx_get:
- * @sctx: libgsasl session handle
- *
- * Return value: Returns the libgsasl handle given a libgsasl session handle.
- **/
-Gsasl *
-gsasl_ctx_get (Gsasl_session * sctx)
-{
-  return sctx->ctx;
-}
-
-/**
  * gsasl_application_data_set:
  * @ctx: libgsasl handle.
  * @appdata: opaque pointer to application specific data.





reply via email to

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