diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 00:06:16 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 00:06:16 +0000 |
commit | ef2935347099967cc7092fa7f472d91d51571468 (patch) | |
tree | abf0c041a31610fa7f8fb562c3c36a8277c438d2 /src/nids.cpp | |
parent | 4309066dff46f52690998bbd1f60ec8b1631f142 (diff) | |
download | libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.gz libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.bz2 libbu++-ef2935347099967cc7092fa7f472d91d51571468.tar.xz libbu++-ef2935347099967cc7092fa7f472d91d51571468.zip |
Whoa, lots of updates. Md5 is more general, nids, cache, cachestore, and
cachestorenids all support synchronizing now. Url is pretty much done.
Diffstat (limited to '')
-rw-r--r-- | src/nids.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nids.cpp b/src/nids.cpp index 26a7964..0bec952 100644 --- a/src/nids.cpp +++ b/src/nids.cpp | |||
@@ -31,6 +31,13 @@ Bu::Nids::~Nids() | |||
31 | updateHeader(); | 31 | updateHeader(); |
32 | } | 32 | } |
33 | 33 | ||
34 | void Bu::Nids::sync() | ||
35 | { | ||
36 | updateHeader(); | ||
37 | |||
38 | // Later, also flush all caches. | ||
39 | } | ||
40 | |||
34 | void Bu::Nids::initialize() | 41 | void Bu::Nids::initialize() |
35 | { | 42 | { |
36 | unsigned char buf[4]; | 43 | unsigned char buf[4]; |