svn commit: samba r17344 - in branches/SAMBA_4_0/source/auth/gensec: .

metze at samba.org metze at samba.org
Mon Jul 31 15:52:28 GMT 2006


Author: metze
Date: 2006-07-31 15:52:26 +0000 (Mon, 31 Jul 2006)
New Revision: 17344

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17344

Log:
move the gensec_update_request structure into the header file
and add a private_data for the backends.

metze
Modified:
   branches/SAMBA_4_0/source/auth/gensec/gensec.c
   branches/SAMBA_4_0/source/auth/gensec/gensec.h


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/gensec.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec.c	2006-07-31 15:42:27 UTC (rev 17343)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec.c	2006-07-31 15:52:26 UTC (rev 17344)
@@ -929,17 +929,6 @@
 	return gensec_security->ops->update(gensec_security, out_mem_ctx, in, out);
 }
 
-struct gensec_update_request {
-	struct gensec_security *gensec_security;
-	DATA_BLOB in;
-	DATA_BLOB out;
-	NTSTATUS status;
-	struct {
-		void (*fn)(struct gensec_update_request *req, void *private_data);
-		void *private_data;
-	} callback;
-};
-
 static void gensec_update_async_timed_handler(struct event_context *ev, struct timed_event *te,
 					      struct timeval t, void *ptr)
 {

Modified: branches/SAMBA_4_0/source/auth/gensec/gensec.h
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec.h	2006-07-31 15:42:27 UTC (rev 17343)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec.h	2006-07-31 15:52:26 UTC (rev 17344)
@@ -33,7 +33,6 @@
 #define GENSEC_OID_KERBEROS5_USER2USER "1 2 840 113554 1 2 2 3"
 
 struct gensec_security;
-struct gensec_update_request;
 struct gensec_target {
 	const char *principal;
 	const char *hostname;
@@ -56,6 +55,18 @@
 
 struct auth_session_info;
 
+struct gensec_update_request {
+	struct gensec_security *gensec_security;
+	void *private_data;
+	DATA_BLOB in;
+	DATA_BLOB out;
+	NTSTATUS status;
+	struct {
+		void (*fn)(struct gensec_update_request *req, void *private_data);
+		void *private_data;
+	} callback;
+};
+
 struct gensec_security_ops {
 	const char *name;
 	const char *sasl_name;



More information about the samba-cvs mailing list