aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/fs.h')
-rw-r--r--src/plugins/fs/fs.h44
1 files changed, 27 insertions, 17 deletions
diff --git a/src/plugins/fs/fs.h b/src/plugins/fs/fs.h
index 3b691cf1..690bf072 100644
--- a/src/plugins/fs/fs.h
+++ b/src/plugins/fs/fs.h
@@ -30,6 +30,24 @@
30#include <GNUnet/gnunet_ecrs_lib.h> 30#include <GNUnet/gnunet_ecrs_lib.h>
31#include <GNUnet/gnunet_fsui_lib.h> 31#include <GNUnet/gnunet_fsui_lib.h>
32 32
33
34/**
35 * On search box, for namespace selection
36 * (for input of search URI; lists known namespaces).
37 */
38enum {
39 NS_SEARCH_DESCRIPTION = 0,
40 NS_SEARCH_ENCNAME,
41 NS_SEARCH_METADATA,
42 NS_SEARCH_FSUI,
43 NS_SEARCH_RATING,
44 NS_SEARCH_NUM,
45};
46
47/**
48 * For listing of search results for main search.
49 * Represents a search result.
50 */
33enum { 51enum {
34 SEARCH_NAME = 0, 52 SEARCH_NAME = 0,
35 SEARCH_SIZE, 53 SEARCH_SIZE,
@@ -43,21 +61,15 @@ enum {
43 SEARCH_NUM, 61 SEARCH_NUM,
44}; 62};
45 63
64/**
65 * Search entry in search summary list.
66 * Represents a search process.
67 */
46enum { 68enum {
47 NS_SEARCH_DESCRIPTION = 0, 69 SEARCH_SUMMARY_NAME = 0,
48 NS_SEARCH_ENCNAME, 70 SEARCH_SUMMARY_RESULT_COUNT,
49 NS_SEARCH_METADATA, 71 SEARCH_SUMMARY_INTERNAL,
50 NS_SEARCH_FSUI, 72 SEARCH_SUMMARY_NUM
51 NS_SEARCH_RATING,
52 NS_SEARCH_NUM,
53};
54
55enum {
56 SER_SUM_NAME = 0,
57 SER_SUM_COUNT,
58 SER_SUM_URI,
59 SER_SUM_FSUI,
60 SER_SUM_NUM
61}; 73};
62 74
63enum { 75enum {
@@ -67,9 +79,7 @@ enum {
67 DOWNLOAD_HSIZE, 79 DOWNLOAD_HSIZE,
68 DOWNLOAD_PROGRESS, 80 DOWNLOAD_PROGRESS,
69 DOWNLOAD_URISTRING, 81 DOWNLOAD_URISTRING,
70 DOWNLOAD_URI, 82 DOWNLOAD_INTERNAL, /* struct DL */
71 DOWNLOAD_TREEPATH,
72 DOWNLOAD_POS, /* struct DL */
73 DOWNLOAD_NUM 83 DOWNLOAD_NUM
74}; 84};
75 85