[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Fri Dec 17 19:05:01 MST 2010


The branch, master has been updated
       via  09a2f14 pyrpc: Add prototype for init function.
       via  d107e95 pyglue: Add prototype for init function.
       via  bbab7ed pidl: Add prototype for init function in pidl-generated Python bindings.
      from  455ef46 Revert "s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later"

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 09a2f14c84de1da658009c62572c7cbffb07febc
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Dec 17 22:17:33 2010 +0100

    pyrpc: Add prototype for init function.
    
    Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104

commit d107e959b7f670a5a88b58defd5b70cde6beb068
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Dec 17 22:17:25 2010 +0100

    pyglue: Add prototype for init function.

commit bbab7ed8d935391d5c8c900f32b3db8caa438d08
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Dec 17 21:58:16 2010 +0100

    pidl: Add prototype for init function in pidl-generated Python bindings.

-----------------------------------------------------------------------

Summary of changes:
 pidl/lib/Parse/Pidl/Samba4/Python.pm |    1 +
 source4/librpc/rpc/pyrpc.c           |    2 ++
 source4/scripting/python/pyglue.c    |    2 ++
 3 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 09ebd57..70289e1 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -1310,6 +1310,7 @@ sub Parse($$$$$)
 
 	$self->pidl("");
 
+	$self->pidl_hdr("void init$basename(void);");
 	$self->pidl("void init$basename(void)");
 	$self->pidl("{");
 	$self->indent;
diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c
index 52b5d00..46f1f06 100644
--- a/source4/librpc/rpc/pyrpc.c
+++ b/source4/librpc/rpc/pyrpc.c
@@ -27,6 +27,8 @@
 #include "librpc/rpc/pyrpc_util.h"
 #include "auth/credentials/pycredentials.h"
 
+void initbase(void);
+
 staticforward PyTypeObject dcerpc_InterfaceType;
 
 static bool PyString_AsGUID(PyObject *object, struct GUID *uuid)
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index cbc81d3..f89785f 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -23,6 +23,8 @@
 #include "param/pyparam.h"
 #include "lib/socket/netif.h"
 
+void init_glue(void);
+
 static PyObject *py_generate_random_str(PyObject *self, PyObject *args)
 {
 	int len;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list