Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
+#ifndef CTDB_CMDLINE_H
+#define CTDB_CMDLINE_H
extern struct poptOption popt_ctdb_cmdline[];
struct ctdb_context *ctdb_cmdline_init(struct event_context *ev);
+#endif /* CTDB_CMDLINE_H */
+#ifndef IDTREE_H
+#define IDTREE_H
+
struct idr_context *idr_init(TALLOC_CTX *mem_ctx);
int idr_get_new(struct idr_context *idp, void *ptr, int limit);
int idr_get_new_above(struct idr_context *idp, void *ptr, int starting_id, int limit);
void *idr_find(struct idr_context *idp, int id);
int idr_remove(struct idr_context *idp, int id);
+#endif /* IDTREE_H */
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef UTIL_DEBUG_H
+#define UTIL_DEBUG_H
+
void (*do_debug_v)(const char *, va_list ap);
const char *debug_extra;
void (*do_debug_add_v)(const char *, va_list ap);
void do_debug_add(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
void dump_data(int level, const uint8_t *buf1, size_t len);
+#endif /* UTIL_DEBUG_H */