mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
@ -1,6 +1,8 @@
|
||||
#ifndef __LIBCLI_LDAP_LDAP_NDR_H__
|
||||
#define __LIBCLI_LDAP_LDAP_NDR_H__
|
||||
|
||||
#include "librpc/gen_ndr/ndr_misc.h"
|
||||
|
||||
char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value);
|
||||
char *ldap_encode_ndr_dom_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
|
||||
char *ldap_encode_ndr_GUID(TALLOC_CTX *mem_ctx, struct GUID *guid);
|
||||
|
@ -27,7 +27,7 @@ static PyObject *uuid_random(PyObject *self, PyObject *args)
|
||||
PyObject *pyobj;
|
||||
char *str;
|
||||
|
||||
if (!PyArg_ParseTuple(args, (char *)""))
|
||||
if (!PyArg_ParseTuple(args, ""))
|
||||
return NULL;
|
||||
|
||||
guid = GUID_random();
|
||||
@ -52,7 +52,7 @@ static PyMethodDef methods[] = {
|
||||
|
||||
void inituuid(void)
|
||||
{
|
||||
PyObject *mod = Py_InitModule3((char *)"uuid", methods, "UUID helper routines");
|
||||
PyObject *mod = Py_InitModule3("uuid", methods, "UUID helper routines");
|
||||
if (mod == NULL)
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user