From aebfb3b9f415d3c1f6b2a39aee27b072d48893cb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 8 Apr 2004 22:39:47 +0000 Subject: r128: Another registry update. Changes: - Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560) --- source4/lib/ldb/include/proto.h | 126 ---------------------------------------- 1 file changed, 126 deletions(-) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/proto.h b/source4/lib/ldb/include/proto.h index 8690d96fee..e69de29bb2 100644 --- a/source4/lib/ldb/include/proto.h +++ b/source4/lib/ldb/include/proto.h @@ -1,126 +0,0 @@ -#ifndef _PROTO_H_ -#define _PROTO_H_ - -/* This file is automatically generated with "make proto". DO NOT EDIT */ - - -/* The following definitions come from common/ldb.c */ - -struct ldb_context *ldb_connect(const char *url, unsigned int flags, - const char *options[]); -int ldb_close(struct ldb_context *ldb); -int ldb_search(struct ldb_context *ldb, - const char *base, - enum ldb_scope scope, - const char *expression, - const char *attrs[], struct ldb_message ***res); -int ldb_search_free(struct ldb_context *ldb, struct ldb_message **msgs); -int ldb_add(struct ldb_context *ldb, - const struct ldb_message *message); -int ldb_modify(struct ldb_context *ldb, - const struct ldb_message *message); -int ldb_delete(struct ldb_context *ldb, const char *dn); -const char *ldb_errstring(struct ldb_context *ldb); - -/* The following definitions come from common/ldb_ldif.c */ - -char *ldb_base64_encode(const char *buf, int len); -int ldb_should_b64_encode(const struct ldb_val *val); -int ldif_write(int (*fprintf_fn)(void *, const char *, ...), - void *private, - const struct ldb_message *msg); -void ldif_read_free(struct ldb_message *msg); -struct ldb_message *ldif_read(int (*fgetc_fn)(void *), void *private); -struct ldb_message *ldif_read_file(FILE *f); -struct ldb_message *ldif_read_string(const char *s); -int ldif_write_file(FILE *f, const struct ldb_message *msg); - -/* The following definitions come from common/ldb_parse.c */ - -struct ldb_parse_tree *ldb_parse_tree(const char *s); -void ldb_parse_tree_free(struct ldb_parse_tree *tree); - -/* The following definitions come from common/util.c */ - -void *realloc_array(void *ptr, size_t el_size, unsigned count); -int list_find(const void *needle, - const void *base, size_t nmemb, size_t size, comparison_fn_t comp_fn); - -/* The following definitions come from ldb_ldap/ldb_ldap.c */ - -struct ldb_context *lldb_connect(const char *url, - unsigned int flags, - const char *options[]); - -/* The following definitions come from ldb_tdb/ldb_index.c */ - -int ltdb_search_indexed(struct ldb_context *ldb, - const char *base, - enum ldb_scope scope, - struct ldb_parse_tree *tree, - const char *attrs[], struct ldb_message ***res); -int ltdb_index_add(struct ldb_context *ldb, const struct ldb_message *msg); -int ltdb_index_del(struct ldb_context *ldb, const struct ldb_message *msg); - -/* The following definitions come from ldb_tdb/ldb_match.c */ - -int ldb_message_match(struct ldb_context *ldb, - struct ldb_message *msg, - struct ldb_parse_tree *tree, - const char *base, - enum ldb_scope scope); - -/* The following definitions come from ldb_tdb/ldb_pack.c */ - -int ltdb_pack_data(struct ldb_context *ctx, - const struct ldb_message *message, - struct TDB_DATA *data); -int ltdb_unpack_data(struct ldb_context *ctx, - const struct TDB_DATA *data, - struct ldb_message *message); - -/* The following definitions come from ldb_tdb/ldb_search.c */ - -int ldb_msg_find_attr(const struct ldb_message *msg, const char *attr); -int ltdb_has_wildcard(const struct ldb_val *val); -void ltdb_search_dn1_free(struct ldb_context *ldb, struct ldb_message *msg); -int ltdb_search_dn1(struct ldb_context *ldb, const char *dn, struct ldb_message *msg); -int ltdb_search_dn(struct ldb_context *ldb, char *dn, - const char *attrs[], struct ldb_message ***res); -int ltdb_add_attr_results(struct ldb_context *ldb, struct ldb_message *msg, - const char *attrs[], - unsigned int *count, - struct ldb_message ***res); -int ltdb_search_free(struct ldb_context *ldb, struct ldb_message **msgs); -int ltdb_search(struct ldb_context *ldb, const char *base, - enum ldb_scope scope, const char *expression, - const char *attrs[], struct ldb_message ***res); - -/* The following definitions come from ldb_tdb/ldb_tdb.c */ - -struct TDB_DATA ltdb_key(const char *dn); -int ltdb_store(struct ldb_context *ldb, const struct ldb_message *msg, int flgs); -int ltdb_delete_noindex(struct ldb_context *ldb, const char *dn); -struct ldb_context *ltdb_connect(const char *url, - unsigned int flags, - const char *options[]); - -/* The following definitions come from ldb_tdb/ldbadd.c */ - - -/* The following definitions come from ldb_tdb/ldbdel.c */ - - -/* The following definitions come from ldb_tdb/ldbsearch.c */ - - -/* The following definitions come from tools/ldbadd.c */ - - -/* The following definitions come from tools/ldbdel.c */ - - -/* The following definitions come from tools/ldbsearch.c */ - - -#endif /* _PROTO_H_ */ -- cgit