aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_namespace.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-15 09:38:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-15 09:38:48 +0000
commit0443654040fb277df95aae28a7b2a54a4f0a73bf (patch)
tree5f07e7fcf3409d1cb287ef5181b01f3584198acb /src/fs/fs_namespace.c
parentca5418e74010c0034f7f24ad8a7a2ecb6e941af1 (diff)
downloadgnunet-0443654040fb277df95aae28a7b2a54a4f0a73bf.tar.gz
gnunet-0443654040fb277df95aae28a7b2a54a4f0a73bf.zip
dead code elimination, splitting fs.h into fs.h and fs_api.h
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r--src/fs/fs_namespace.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c
index 47ca6bad1..9d754009b 100644
--- a/src/fs/fs_namespace.c
+++ b/src/fs/fs_namespace.c
@@ -28,10 +28,22 @@
28#include "gnunet_signatures.h" 28#include "gnunet_signatures.h"
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "gnunet_fs_service.h" 30#include "gnunet_fs_service.h"
31#include "fs.h" 31#include "fs_api.h"
32 32
33#define DEBUG_NAMESPACE GNUNET_EXTRA_LOGGING 33#define DEBUG_NAMESPACE GNUNET_EXTRA_LOGGING
34 34
35
36/**
37 * Maximum legal size for an sblock.
38 */
39#define MAX_SBLOCK_SIZE (60 * 1024)
40
41/**
42 * Maximum legal size for an nblock.
43 */
44#define MAX_NBLOCK_SIZE (60 * 1024)
45
46
35/** 47/**
36 * Return the name of the directory in which we store 48 * Return the name of the directory in which we store
37 * our local namespaces (or rather, their public keys). 49 * our local namespaces (or rather, their public keys).