1 #ifndef __LIB_UTIL_UTIL_LDB_H__
2 #define __LIB_UTIL_UTIL_LDB_H__
4 #undef _PRINTF_ATTRIBUTE
5 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
6 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
24 #ifndef _WARN_UNUSED_RESULT_
25 #define _WARN_UNUSED_RESULT_
29 /* The following definitions come from lib/util/util_ldb.c */
31 int gendb_search_v(struct ldb_context *ldb,
33 struct ldb_dn *basedn,
34 struct ldb_message ***msgs,
35 const char * const *attrs,
37 va_list ap) _PRINTF_ATTRIBUTE(6,0);
38 int gendb_search(struct ldb_context *ldb,
40 struct ldb_dn *basedn,
41 struct ldb_message ***res,
42 const char * const *attrs,
43 const char *format, ...) _PRINTF_ATTRIBUTE(6,7);
44 int gendb_search_dn(struct ldb_context *ldb,
47 struct ldb_message ***res,
48 const char * const *attrs);
49 int gendb_add_ldif(struct ldb_context *ldb, const char *ldif_string);
50 char *wrap_casefold(void *context, void *mem_ctx, const char *s);
51 #undef _PRINTF_ATTRIBUTE
52 #define _PRINTF_ATTRIBUTE(a1, a2)
54 #endif /* __LIB_UTIL_UTIL_LDB_H__ */