mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Reintroduce header previously autogenerated but ignored by git.
Also fixed extra include in regpatch.
This commit is contained in:
parent
8c3591d98f
commit
0e371cf169
3
.gitignore
vendored
3
.gitignore
vendored
@ -66,7 +66,6 @@ source/lib/tdr/tdr_proto.h
|
|||||||
source/lib/util/pidfile.h
|
source/lib/util/pidfile.h
|
||||||
source/lib/util/unix_privs.h
|
source/lib/util/unix_privs.h
|
||||||
source/lib/util/util_proto.h
|
source/lib/util/util_proto.h
|
||||||
source/lib/util/wrap_xattr.h
|
|
||||||
source/lib/util/asn1_proto.h
|
source/lib/util/asn1_proto.h
|
||||||
source/libcli/finddcs.h
|
source/libcli/finddcs.h
|
||||||
source/libcli/libcli_proto.h
|
source/libcli/libcli_proto.h
|
||||||
@ -190,8 +189,6 @@ source/dsdb/schema/proto.h
|
|||||||
source/lib/crypto/test_proto.h
|
source/lib/crypto/test_proto.h
|
||||||
source/lib/registry/tests/proto.h
|
source/lib/registry/tests/proto.h
|
||||||
source/lib/util/apidocs
|
source/lib/util/apidocs
|
||||||
source/lib/util/util_ldb.h
|
|
||||||
source/libcli/ldap/ldap_ndr.h
|
|
||||||
source/libcli/resolve/lp_proto.h
|
source/libcli/resolve/lp_proto.h
|
||||||
source/apidocs
|
source/apidocs
|
||||||
*.swp
|
*.swp
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "lib/registry/registry.h"
|
#include "lib/registry/registry.h"
|
||||||
#include "lib/cmdline/popt_common.h"
|
#include "lib/cmdline/popt_common.h"
|
||||||
#include "lib/registry/tools/common.h"
|
#include "lib/registry/tools/common.h"
|
||||||
#include "lib/registry/patchfile.h"
|
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
@ -1,19 +1,21 @@
|
|||||||
#ifndef __LIB_UTIL_UTIL_LDB_H__
|
#ifndef __LIB_UTIL_UTIL_LDB_H__
|
||||||
#define __LIB_UTIL_UTIL_LDB_H__
|
#define __LIB_UTIL_UTIL_LDB_H__
|
||||||
|
|
||||||
|
/* The following definitions come from lib/util/util_ldb.c */
|
||||||
|
|
||||||
int gendb_search_v(struct ldb_context *ldb,
|
int gendb_search_v(struct ldb_context *ldb,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct ldb_dn *basedn,
|
struct ldb_dn *basedn,
|
||||||
struct ldb_message ***msgs,
|
struct ldb_message ***msgs,
|
||||||
const char * const *attrs,
|
const char * const *attrs,
|
||||||
const char *format,
|
const char *format,
|
||||||
va_list ap) _PRINTF_ATTRIBUTE(6,0);
|
va_list ap) PRINTF_ATTRIBUTE(6,0);
|
||||||
int gendb_search(struct ldb_context *ldb,
|
int gendb_search(struct ldb_context *ldb,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct ldb_dn *basedn,
|
struct ldb_dn *basedn,
|
||||||
struct ldb_message ***res,
|
struct ldb_message ***res,
|
||||||
const char * const *attrs,
|
const char * const *attrs,
|
||||||
const char *format, ...) _PRINTF_ATTRIBUTE(6,7);
|
const char *format, ...) PRINTF_ATTRIBUTE(6,7);
|
||||||
int gendb_search_dn(struct ldb_context *ldb,
|
int gendb_search_dn(struct ldb_context *ldb,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct ldb_dn *dn,
|
struct ldb_dn *dn,
|
||||||
@ -23,4 +25,3 @@ int gendb_add_ldif(struct ldb_context *ldb, const char *ldif_string);
|
|||||||
char *wrap_casefold(void *context, void *mem_ctx, const char *s);
|
char *wrap_casefold(void *context, void *mem_ctx, const char *s);
|
||||||
|
|
||||||
#endif /* __LIB_UTIL_UTIL_LDB_H__ */
|
#endif /* __LIB_UTIL_UTIL_LDB_H__ */
|
||||||
|
|
||||||
|
10
source/libcli/ldap/ldap_ndr.h
Normal file
10
source/libcli/ldap/ldap_ndr.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#ifndef __LIBCLI_LDAP_LDAP_NDR_H__
|
||||||
|
#define __LIBCLI_LDAP_LDAP_NDR_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);
|
||||||
|
NTSTATUS ldap_decode_ndr_GUID(TALLOC_CTX *mem_ctx, struct ldb_val val, struct GUID *guid);
|
||||||
|
|
||||||
|
#endif /* __LIBCLI_LDAP_LDAP_NDR_H__ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user