2 ldb database library - command line handling for ldb tools
4 Copyright (C) Andrew Tridgell 2005
6 ** NOTE! The following LGPL license applies to the ldb
7 ** library. This does NOT imply that all of Samba is released
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 3 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, see <http://www.gnu.org/licenses/>.
30 const char *modules_path;
43 const char *sasl_mechanism;
44 const char **controls;
50 struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc,
52 void (*usage)(struct ldb_context *));
55 int handle_controls_reply(struct ldb_control **reply, struct ldb_control **request);
56 void ldb_cmdline_help(struct ldb_context *ldb, const char *cmdname, FILE *f);