[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6265 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6265 - GNUnet/src/include |
Date: |
Tue, 12 Feb 2008 10:19:17 -0700 (MST) |
Author: grothoff
Date: 2008-02-12 10:19:17 -0700 (Tue, 12 Feb 2008)
New Revision: 6265
Modified:
GNUnet/src/include/gnunet_util_containers.h
Log:
or
Modified: GNUnet/src/include/gnunet_util_containers.h
===================================================================
--- GNUnet/src/include/gnunet_util_containers.h 2008-02-12 17:19:13 UTC (rev
6264)
+++ GNUnet/src/include/gnunet_util_containers.h 2008-02-12 17:19:17 UTC (rev
6265)
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other
contributing authors)
+ (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008 Christian Grothoff (and
other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -148,6 +148,17 @@
void GNUNET_bloomfilter_clear (struct GNUNET_BloomFilter *bf);
/**
+ * Or the entries of the given raw data array with the
+ * data of the given bloom filter. Assumes that
+ * the size of the data array and the current filter
+ * match.
+ * @param bf the filter
+ */
+int GNUNET_bloomfilter_or (struct GNUNET_BloomFilter *bf,
+ const char * data,
+ unsigned int size);
+
+/**
* Resize a bloom filter. Note that this operation
* is pretty costly. Essentially, the bloom filter
* needs to be completely re-build.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6265 - GNUnet/src/include,
gnunet <=