svn commit: samba r15386 - branches/SAMBA_3_0/source/python trunk/source/python

deryck at samba.org deryck at samba.org
Mon May 1 22:53:30 GMT 2006


Author: deryck
Date: 2006-05-01 22:53:29 +0000 (Mon, 01 May 2006)
New Revision: 15386

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

Log:

Missed some functions in my last commit.

deryck

Modified:
   branches/SAMBA_3_0/source/python/py_samr.c
   trunk/source/python/py_samr.c


Changeset:
Modified: branches/SAMBA_3_0/source/python/py_samr.c
===================================================================
--- branches/SAMBA_3_0/source/python/py_samr.c	2006-05-01 22:31:33 UTC (rev 15385)
+++ branches/SAMBA_3_0/source/python/py_samr.c	2006-05-01 22:53:29 UTC (rev 15386)
@@ -283,7 +283,7 @@
 	0,          /*tp_hash */
 };
 
-PyObject *new_samr_user_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_user_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				   POLICY_HND *pol)
 {
 	samr_user_hnd_object *o;
@@ -304,7 +304,7 @@
 	PyObject_Del(self);
 }
 
-PyObject *new_samr_domain_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_domain_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				     POLICY_HND *pol)
 {
 	samr_domain_hnd_object *o;
@@ -396,7 +396,7 @@
 	0,          /*tp_hash */
 };
 
-PyObject *new_samr_connect_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_connect_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				      POLICY_HND *pol)
 {
 	samr_connect_hnd_object *o;
@@ -577,7 +577,7 @@
 		goto done;
 	}
 
-	result = new_samr_connect_hnd_object(cli, mem_ctx, &hnd);
+	result = new_samr_connect_hnd_object(cli->pipe_list, mem_ctx, &hnd);
 
 done:
 	if (!result) {

Modified: trunk/source/python/py_samr.c
===================================================================
--- trunk/source/python/py_samr.c	2006-05-01 22:31:33 UTC (rev 15385)
+++ trunk/source/python/py_samr.c	2006-05-01 22:53:29 UTC (rev 15386)
@@ -283,7 +283,7 @@
 	0,          /*tp_hash */
 };
 
-PyObject *new_samr_user_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_user_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				   POLICY_HND *pol)
 {
 	samr_user_hnd_object *o;
@@ -304,7 +304,7 @@
 	PyObject_Del(self);
 }
 
-PyObject *new_samr_domain_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_domain_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				     POLICY_HND *pol)
 {
 	samr_domain_hnd_object *o;
@@ -396,7 +396,7 @@
 	0,          /*tp_hash */
 };
 
-PyObject *new_samr_connect_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+PyObject *new_samr_connect_hnd_object(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
 				      POLICY_HND *pol)
 {
 	samr_connect_hnd_object *o;
@@ -577,7 +577,7 @@
 		goto done;
 	}
 
-	result = new_samr_connect_hnd_object(cli, mem_ctx, &hnd);
+	result = new_samr_connect_hnd_object(cli->pipe_list, mem_ctx, &hnd);
 
 done:
 	if (!result) {



More information about the samba-cvs mailing list