diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-24 09:58:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-24 09:58:58 +0000 |
commit | 3aea10e56e9f4b4971dd2626bd4f69ea796787e2 (patch) | |
tree | 6d263f237a226e10439005bdd32ba6160d8e9a19 /src/include | |
parent | a313004af348121545a63abedbe6456944c5fe16 (diff) | |
download | gnunet-3aea10e56e9f4b4971dd2626bd4f69ea796787e2.tar.gz gnunet-3aea10e56e9f4b4971dd2626bd4f69ea796787e2.zip |
stuff
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_common.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_datastore_service.h | 4 | ||||
-rw-r--r-- | src/include/gnunet_fs_service.h | 22 | ||||
-rw-r--r-- | src/include/gnunet_hello_lib.h | 4 | ||||
-rw-r--r-- | src/include/gnunet_signatures.h | 7 |
5 files changed, 20 insertions, 19 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index e3e62a143..d7842a519 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -107,8 +107,8 @@ struct GNUNET_PeerIdentity | |||
107 | /** | 107 | /** |
108 | * Function called with a filename. | 108 | * Function called with a filename. |
109 | * | 109 | * |
110 | * @param filename complete filename (absolute path) | ||
111 | * @param cls closure | 110 | * @param cls closure |
111 | * @param filename complete filename (absolute path) | ||
112 | * @return GNUNET_OK to continue to iterate, | 112 | * @return GNUNET_OK to continue to iterate, |
113 | * GNUNET_SYSERR to abort iteration with error! | 113 | * GNUNET_SYSERR to abort iteration with error! |
114 | */ | 114 | */ |
diff --git a/src/include/gnunet_datastore_service.h b/src/include/gnunet_datastore_service.h index aa35c82ee..a506362f2 100644 --- a/src/include/gnunet_datastore_service.h +++ b/src/include/gnunet_datastore_service.h | |||
@@ -72,9 +72,9 @@ extern "C" | |||
72 | #define GNUNET_DATASTORE_BLOCKTYPE_ONDEMAND 5 | 72 | #define GNUNET_DATASTORE_BLOCKTYPE_ONDEMAND 5 |
73 | 73 | ||
74 | /** | 74 | /** |
75 | * FIXME. | 75 | * Type of a block that is used to advertise a namespace. |
76 | */ | 76 | */ |
77 | #define GNUNET_DATASTORE_BLOCKTYPE_SKBLOCK 6 /* not yet used */ | 77 | #define GNUNET_DATASTORE_BLOCKTYPE_NBLOCK 6 |
78 | 78 | ||
79 | 79 | ||
80 | /** | 80 | /** |
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 111dcd5ac..fe0394335 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -435,9 +435,9 @@ GNUNET_FS_getopt_set_keywords (struct GNUNET_GETOPT_CommandLineProcessorContext* | |||
435 | */ | 435 | */ |
436 | int | 436 | int |
437 | GNUNET_FS_getopt_set_metadata (struct GNUNET_GETOPT_CommandLineProcessorContext* ctx, | 437 | GNUNET_FS_getopt_set_metadata (struct GNUNET_GETOPT_CommandLineProcessorContext* ctx, |
438 | void *scls, | 438 | void *scls, |
439 | const char *option, | 439 | const char *option, |
440 | const char *value); | 440 | const char *value); |
441 | 441 | ||
442 | 442 | ||
443 | 443 | ||
@@ -2044,22 +2044,20 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc); | |||
2044 | * @param anonymity for the namespace advertismement | 2044 | * @param anonymity for the namespace advertismement |
2045 | * @param priority for the namespace advertisement | 2045 | * @param priority for the namespace advertisement |
2046 | * @param expiration for the namespace advertisement | 2046 | * @param expiration for the namespace advertisement |
2047 | * @param advertisementURI the keyword (!) URI to advertise the | 2047 | * @param rootEntry name of the root of the namespace |
2048 | * namespace under (we will create a GNUNET_EC_KNBlock) | 2048 | * @param cont continuation |
2049 | * @param rootEntry name of the root entry in the namespace (for | 2049 | * @param cont_cls closure for cont |
2050 | * the namespace advertisement) | ||
2051 | * | ||
2052 | * @return uri of the advertisement | ||
2053 | */ | 2050 | */ |
2054 | struct GNUNET_FS_Uri * | 2051 | void |
2055 | GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, | 2052 | GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, |
2056 | struct GNUNET_FS_Namespace *namespace, | 2053 | struct GNUNET_FS_Namespace *namespace, |
2057 | const struct GNUNET_CONTAINER_MetaData *meta, | 2054 | const struct GNUNET_CONTAINER_MetaData *meta, |
2058 | uint32_t anonymity, | 2055 | uint32_t anonymity, |
2059 | uint32_t priority, | 2056 | uint32_t priority, |
2060 | struct GNUNET_TIME_Absolute expiration, | 2057 | struct GNUNET_TIME_Absolute expiration, |
2061 | const struct GNUNET_FS_Uri *advertisementURI, | 2058 | const char *rootEntry, |
2062 | const char *rootEntry); | 2059 | GNUNET_FS_PublishContinuation cont, |
2060 | void *cont_cls); | ||
2063 | 2061 | ||
2064 | 2062 | ||
2065 | /** | 2063 | /** |
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index d7d116c74..6191c4f7e 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other contributing authors) | 3 | (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -207,8 +207,6 @@ int | |||
207 | GNUNET_HELLO_get_id (const struct GNUNET_HELLO_Message *hello, | 207 | GNUNET_HELLO_get_id (const struct GNUNET_HELLO_Message *hello, |
208 | struct GNUNET_PeerIdentity *peer); | 208 | struct GNUNET_PeerIdentity *peer); |
209 | 209 | ||
210 | |||
211 | |||
212 | /* ifndef GNUNET_HELLO_LIB_H */ | 210 | /* ifndef GNUNET_HELLO_LIB_H */ |
213 | #endif | 211 | #endif |
214 | /* end of gnunet_hello_lib.h */ | 212 | /* end of gnunet_hello_lib.h */ |
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h index 29aa36811..8b71bb616 100644 --- a/src/include/gnunet_signatures.h +++ b/src/include/gnunet_signatures.h | |||
@@ -77,9 +77,14 @@ extern "C" | |||
77 | #define GNUNET_SIGNATURE_PURPOSE_FS_SBLOCK 6 | 77 | #define GNUNET_SIGNATURE_PURPOSE_FS_SBLOCK 6 |
78 | 78 | ||
79 | /** | 79 | /** |
80 | * Signature of advertisment for a namespace. | ||
81 | */ | ||
82 | #define GNUNET_SIGNATURE_PURPOSE_FS_NBLOCK 7 | ||
83 | |||
84 | /** | ||
80 | * | 85 | * |
81 | */ | 86 | */ |
82 | #define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 7 | 87 | #define GNUNET_SIGNATURE_PURPOSE_RESOLVER_RESPONSE 8 |
83 | 88 | ||
84 | 89 | ||
85 | #if 0 /* keep Emacsens' auto-indent happy */ | 90 | #if 0 /* keep Emacsens' auto-indent happy */ |