diff options
Diffstat (limited to 'src/fs/fs_publish_ublock.h')
-rw-r--r-- | src/fs/fs_publish_ublock.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/fs/fs_publish_ublock.h b/src/fs/fs_publish_ublock.h index ad07e5f6f..9d0a518c6 100644 --- a/src/fs/fs_publish_ublock.h +++ b/src/fs/fs_publish_ublock.h | |||
@@ -11,12 +11,12 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file fs/fs_publish_ublock.h | 22 | * @file fs/fs_publish_ublock.h |
@@ -44,11 +44,11 @@ | |||
44 | * @param output where to write the result, has input_len bytes | 44 | * @param output where to write the result, has input_len bytes |
45 | */ | 45 | */ |
46 | void | 46 | void |
47 | GNUNET_FS_ublock_decrypt_ (const void *input, | 47 | GNUNET_FS_ublock_decrypt_(const void *input, |
48 | size_t input_len, | 48 | size_t input_len, |
49 | const struct GNUNET_CRYPTO_EcdsaPublicKey *ns, | 49 | const struct GNUNET_CRYPTO_EcdsaPublicKey *ns, |
50 | const char *label, | 50 | const char *label, |
51 | void *output); | 51 | void *output); |
52 | 52 | ||
53 | 53 | ||
54 | /** | 54 | /** |
@@ -65,7 +65,7 @@ struct GNUNET_FS_PublishUblockContext; | |||
65 | * @param emsg error message, NULL on success | 65 | * @param emsg error message, NULL on success |
66 | */ | 66 | */ |
67 | typedef void (*GNUNET_FS_UBlockContinuation) (void *cls, | 67 | typedef void (*GNUNET_FS_UBlockContinuation) (void *cls, |
68 | const char *emsg); | 68 | const char *emsg); |
69 | 69 | ||
70 | 70 | ||
71 | /** | 71 | /** |
@@ -85,16 +85,16 @@ typedef void (*GNUNET_FS_UBlockContinuation) (void *cls, | |||
85 | * @return NULL on error ('cont' will still be called) | 85 | * @return NULL on error ('cont' will still be called) |
86 | */ | 86 | */ |
87 | struct GNUNET_FS_PublishUblockContext * | 87 | struct GNUNET_FS_PublishUblockContext * |
88 | GNUNET_FS_publish_ublock_ (struct GNUNET_FS_Handle *h, | 88 | GNUNET_FS_publish_ublock_(struct GNUNET_FS_Handle *h, |
89 | struct GNUNET_DATASTORE_Handle *dsh, | 89 | struct GNUNET_DATASTORE_Handle *dsh, |
90 | const char *label, | 90 | const char *label, |
91 | const char *ulabel, | 91 | const char *ulabel, |
92 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *ns, | 92 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *ns, |
93 | const struct GNUNET_CONTAINER_MetaData *meta, | 93 | const struct GNUNET_CONTAINER_MetaData *meta, |
94 | const struct GNUNET_FS_Uri *uri, | 94 | const struct GNUNET_FS_Uri *uri, |
95 | const struct GNUNET_FS_BlockOptions *bo, | 95 | const struct GNUNET_FS_BlockOptions *bo, |
96 | enum GNUNET_FS_PublishOptions options, | 96 | enum GNUNET_FS_PublishOptions options, |
97 | GNUNET_FS_UBlockContinuation cont, void *cont_cls); | 97 | GNUNET_FS_UBlockContinuation cont, void *cont_cls); |
98 | 98 | ||
99 | 99 | ||
100 | /** | 100 | /** |
@@ -103,6 +103,6 @@ GNUNET_FS_publish_ublock_ (struct GNUNET_FS_Handle *h, | |||
103 | * @param uc operation to abort. | 103 | * @param uc operation to abort. |
104 | */ | 104 | */ |
105 | void | 105 | void |
106 | GNUNET_FS_publish_ublock_cancel_ (struct GNUNET_FS_PublishUblockContext *uc); | 106 | GNUNET_FS_publish_ublock_cancel_(struct GNUNET_FS_PublishUblockContext *uc); |
107 | 107 | ||
108 | #endif | 108 | #endif |