aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-04 11:55:52 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-04 11:55:52 +0000
commit3d8988d8bda24d394d72302cefd0d7d76336d068 (patch)
tree7d6016d6b9132e608c18fb1235c5712d4d1984ef /src/fs/fs.h
parent6276a671135e01b119f198d0ae3092bfeb14903e (diff)
downloadgnunet-3d8988d8bda24d394d72302cefd0d7d76336d068.tar.gz
gnunet-3d8988d8bda24d394d72302cefd0d7d76336d068.zip
code cleanup
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h46
1 files changed, 41 insertions, 5 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index 52fbee4c1..50c296979 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -151,6 +151,47 @@
151 */ 151 */
152#define IDLE_LOAD_THRESHOLD ((100 + GNUNET_CONSTANTS_IDLE_LOAD_THRESHOLD) / 2) 152#define IDLE_LOAD_THRESHOLD ((100 + GNUNET_CONSTANTS_IDLE_LOAD_THRESHOLD) / 2)
153 153
154/**
155 * Name of the directory with top-level searches.
156 */
157#define GNUNET_FS_SYNC_PATH_MASTER_SEARCH "search"
158
159/**
160 * Name of the directory with sub-searches (namespace-updates).
161 */
162#define GNUNET_FS_SYNC_PATH_CHILD_SEARCH "search-child"
163
164/**
165 * Name of the directory with search results.
166 */
167#define GNUNET_FS_SYNC_PATH_SEARCH_RESULT "search-result"
168
169/**
170 * Name of the directory with master downloads (not associated
171 * with search or part of another download).
172 */
173#define GNUNET_FS_SYNC_PATH_MASTER_DOWNLOAD "download"
174
175/**
176 * Name of the directory with downloads that are part of another
177 * download or a search.
178 */
179#define GNUNET_FS_SYNC_PATH_CHILD_DOWNLOAD "download-child"
180
181/**
182 * Name of the directory with publishing operations.
183 */
184#define GNUNET_FS_SYNC_PATH_MASTER_PUBLISH "publish"
185
186/**
187 * Name of the directory with files that are being published
188 */
189#define GNUNET_FS_SYNC_PATH_FILE_INFO "publish-file"
190
191/**
192 * Name of the directory with unindex operations.
193 */
194#define GNUNET_FS_SYNC_PATH_MASTER_UNINDEX "unindex"
154 195
155 196
156/** 197/**
@@ -1082,11 +1123,6 @@ struct GNUNET_FS_Handle
1082 void *upcb_cls; 1123 void *upcb_cls;
1083 1124
1084 /** 1125 /**
1085 * Connection to the FS service.
1086 */
1087 struct GNUNET_CLIENT_Connection *client;
1088
1089 /**
1090 * Head of DLL of top-level activities. 1126 * Head of DLL of top-level activities.
1091 */ 1127 */
1092 struct TopLevelActivity *top_head; 1128 struct TopLevelActivity *top_head;