- (for 1.6.3:) unbound.h exports the shm stats structures. They use

type long long and no ifdefs, and ub_ before the typenames.


git-svn-id: file:///svn/unbound/trunk@4117 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2017-04-13 12:47:29 +00:00
parent 710778dfdd
commit 17dd3370fc
13 changed files with 577 additions and 503 deletions
+4
View File
@@ -403,6 +403,8 @@ config_tag_test(void)
}
#include "util/rtt.h"
#include "util/timehist.h"
#include "libunbound/unbound.h"
/** test RTT code */
static void
rtt_test(void)
@@ -426,6 +428,8 @@ rtt_test(void)
unit_assert( rtt_timeout(&r) > RTT_MIN_TIMEOUT-1);
unit_assert( rtt_timeout(&r) < RTT_MAX_TIMEOUT+1);
}
/* must be the same, timehist bucket is used in stats */
unit_assert(UB_STATS_BUCKET_NUM == NUM_BUCKETS_HIST);
}
#include "services/cache/infra.h"