summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartinh <martinh@openbsd.org>2010-06-23 13:34:53 +0000
committermartinh <martinh@openbsd.org>2010-06-23 13:34:53 +0000
commit6f607f286c51ed315f73e459bf8d12e5ee56f833 (patch)
tree98502e189073df6baefaf7e8bf87fe92f3d9c664
parentRe-implement compaction and (re-)indexing outside ldapd. (diff)
downloadwireguard-openbsd-6f607f286c51ed315f73e459bf8d12e5ee56f833.tar.xz
wireguard-openbsd-6f607f286c51ed315f73e459bf8d12e5ee56f833.zip
remove leftovers from old compaction code
-rw-r--r--usr.sbin/ldapd/ldapd.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/usr.sbin/ldapd/ldapd.h b/usr.sbin/ldapd/ldapd.h
index 82fb87a9e14..f3fe4ec9b79 100644
--- a/usr.sbin/ldapd/ldapd.h
+++ b/usr.sbin/ldapd/ldapd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldapd.h,v 1.7 2010/06/23 12:40:19 martinh Exp $ */
+/* $OpenBSD: ldapd.h,v 1.8 2010/06/23 13:34:53 martinh Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -355,10 +355,6 @@ enum imsg_type {
IMSG_CTL_STATS,
IMSG_CTL_NSSTATS,
IMSG_CTL_LOG_VERBOSE,
- IMSG_CTL_COMPACT,
- IMSG_CTL_COMPACT_STATUS,
- IMSG_CTL_INDEX,
- IMSG_CTL_INDEX_STATUS,
IMSG_LDAPD_AUTH,
IMSG_LDAPD_AUTH_RESULT,
@@ -372,25 +368,6 @@ struct ns_stat {
struct btree_stat indx_stat;
};
-enum comp_state {
- COMPACT_DATA,
- COMPACT_INDX,
- COMPACT_DONE
-};
-
-struct compaction_status {
- char suffix[256];
- int db;
- int status;
-};
-
-struct indexer_status {
- char suffix[256];
- uint64_t entries;
- uint64_t ncomplete;
- int status;
-};
-
struct imsgev {
struct imsgbuf ibuf;
void (*handler)(int, short, void *);