aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_search.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-11-15 09:38:48 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-11-15 09:38:48 +0000
commitd936c7294e46ff8eebea19da2a4e91db9711a05a (patch)
tree5f07e7fcf3409d1cb287ef5181b01f3584198acb /src/fs/fs_search.c
parent64c505102a38b157234987962152da7be9aa9aef (diff)
dead code elimination, splitting fs.h into fs.h and fs_api.h
git-svn-id: https://gnunet.org/svn/gnunet@18148 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/fs/fs_search.c')
-rw-r--r--src/fs/fs_search.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index 93a787477b..b5152cc66c 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -28,11 +28,16 @@
#include "gnunet_constants.h"
#include "gnunet_fs_service.h"
#include "gnunet_protocols.h"
-#include "fs.h"
+#include "fs_api.h"
#define DEBUG_SEARCH GNUNET_EXTRA_LOGGING
/**
+ * Number of availability trials we perform per search result.
+ */
+#define AVAILABILITY_TRIALS_MAX 8
+
+/**
* Fill in all of the generic fields for a search event and
* call the callback.
*