diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
commit | cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch) | |
tree | b704e00a3af618b2cd174a7f89514eaebd82a1cf /src/fs/fs.h | |
parent | bb4fc4f4007988874f910d4de5492f9629301641 (diff) | |
download | gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip |
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 11cfc755e..1629af852 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -465,7 +465,7 @@ struct GNUNET_FS_FileInformation | |||
465 | char *emsg; | 465 | char *emsg; |
466 | 466 | ||
467 | /** | 467 | /** |
468 | * Name of the file or directory (must be an absolute path). | 468 | * Name of the file or directory (must be an absolute path). |
469 | */ | 469 | */ |
470 | char *filename; | 470 | char *filename; |
471 | 471 | ||
@@ -779,7 +779,7 @@ GNUNET_FS_dequeue_ (struct GNUNET_FS_QueueEntry *qh); | |||
779 | * @param offset offset to read from; it is possible | 779 | * @param offset offset to read from; it is possible |
780 | * that the caller might need to go backwards | 780 | * that the caller might need to go backwards |
781 | * a bit at times | 781 | * a bit at times |
782 | * @param max maximum number of bytes that should be | 782 | * @param max maximum number of bytes that should be |
783 | * copied to buf; readers are not allowed | 783 | * copied to buf; readers are not allowed |
784 | * to provide less data unless there is an error; | 784 | * to provide less data unless there is an error; |
785 | * a value of "0" will be used at the end to allow | 785 | * a value of "0" will be used at the end to allow |
@@ -811,7 +811,7 @@ GNUNET_FS_make_file_reader_context_ (const char *filename); | |||
811 | * @param offset offset to read from; it is possible | 811 | * @param offset offset to read from; it is possible |
812 | * that the caller might need to go backwards | 812 | * that the caller might need to go backwards |
813 | * a bit at times | 813 | * a bit at times |
814 | * @param max maximum number of bytes that should be | 814 | * @param max maximum number of bytes that should be |
815 | * copied to buf; readers are not allowed | 815 | * copied to buf; readers are not allowed |
816 | * to provide less data unless there is an error; | 816 | * to provide less data unless there is an error; |
817 | * a value of "0" will be used at the end to allow | 817 | * a value of "0" will be used at the end to allow |
@@ -909,7 +909,7 @@ GNUNET_FS_download_start_task_ (void *cls, | |||
909 | 909 | ||
910 | 910 | ||
911 | /** | 911 | /** |
912 | * Fill in all of the generic fields for | 912 | * Fill in all of the generic fields for |
913 | * an unindex event and call the callback. | 913 | * an unindex event and call the callback. |
914 | * | 914 | * |
915 | * @param pi structure to fill in | 915 | * @param pi structure to fill in |
@@ -973,8 +973,8 @@ GNUNET_FS_search_start_probe_ (struct GNUNET_FS_SearchResult *sr); | |||
973 | * Remove serialization/deserialization file from disk. | 973 | * Remove serialization/deserialization file from disk. |
974 | * | 974 | * |
975 | * @param h master context | 975 | * @param h master context |
976 | * @param ext component of the path | 976 | * @param ext component of the path |
977 | * @param ent entity identifier | 977 | * @param ent entity identifier |
978 | */ | 978 | */ |
979 | void | 979 | void |
980 | GNUNET_FS_remove_sync_file_ (struct GNUNET_FS_Handle *h, const char *ext, | 980 | GNUNET_FS_remove_sync_file_ (struct GNUNET_FS_Handle *h, const char *ext, |
@@ -985,8 +985,8 @@ GNUNET_FS_remove_sync_file_ (struct GNUNET_FS_Handle *h, const char *ext, | |||
985 | * Remove serialization/deserialization directory from disk. | 985 | * Remove serialization/deserialization directory from disk. |
986 | * | 986 | * |
987 | * @param h master context | 987 | * @param h master context |
988 | * @param ext component of the path | 988 | * @param ext component of the path |
989 | * @param uni unique name of parent | 989 | * @param uni unique name of parent |
990 | */ | 990 | */ |
991 | void | 991 | void |
992 | GNUNET_FS_remove_sync_dir_ (struct GNUNET_FS_Handle *h, const char *ext, | 992 | GNUNET_FS_remove_sync_dir_ (struct GNUNET_FS_Handle *h, const char *ext, |
@@ -998,7 +998,7 @@ GNUNET_FS_remove_sync_dir_ (struct GNUNET_FS_Handle *h, const char *ext, | |||
998 | * on disk. Note that all internal FS-operations that change | 998 | * on disk. Note that all internal FS-operations that change |
999 | * file information data should already call "sync" internally, | 999 | * file information data should already call "sync" internally, |
1000 | * so this function is likely not useful for clients. | 1000 | * so this function is likely not useful for clients. |
1001 | * | 1001 | * |
1002 | * @param fi the struct to sync | 1002 | * @param fi the struct to sync |
1003 | */ | 1003 | */ |
1004 | void | 1004 | void |
@@ -1009,7 +1009,7 @@ GNUNET_FS_file_information_sync_ (struct GNUNET_FS_FileInformation *f); | |||
1009 | * on disk. Note that all internal FS-operations that change | 1009 | * on disk. Note that all internal FS-operations that change |
1010 | * publishing structs should already call "sync" internally, | 1010 | * publishing structs should already call "sync" internally, |
1011 | * so this function is likely not useful for clients. | 1011 | * so this function is likely not useful for clients. |
1012 | * | 1012 | * |
1013 | * @param pc the struct to sync | 1013 | * @param pc the struct to sync |
1014 | */ | 1014 | */ |
1015 | void | 1015 | void |
@@ -1020,7 +1020,7 @@ GNUNET_FS_publish_sync_ (struct GNUNET_FS_PublishContext *pc); | |||
1020 | * on disk. Note that all internal FS-operations that change | 1020 | * on disk. Note that all internal FS-operations that change |
1021 | * publishing structs should already call "sync" internally, | 1021 | * publishing structs should already call "sync" internally, |
1022 | * so this function is likely not useful for clients. | 1022 | * so this function is likely not useful for clients. |
1023 | * | 1023 | * |
1024 | * @param uc the struct to sync | 1024 | * @param uc the struct to sync |
1025 | */ | 1025 | */ |
1026 | void | 1026 | void |
@@ -1031,7 +1031,7 @@ GNUNET_FS_unindex_sync_ (struct GNUNET_FS_UnindexContext *uc); | |||
1031 | * on disk. Note that all internal FS-operations that change | 1031 | * on disk. Note that all internal FS-operations that change |
1032 | * publishing structs should already call "sync" internally, | 1032 | * publishing structs should already call "sync" internally, |
1033 | * so this function is likely not useful for clients. | 1033 | * so this function is likely not useful for clients. |
1034 | * | 1034 | * |
1035 | * @param sc the struct to sync | 1035 | * @param sc the struct to sync |
1036 | */ | 1036 | */ |
1037 | void | 1037 | void |
@@ -1042,7 +1042,7 @@ GNUNET_FS_search_sync_ (struct GNUNET_FS_SearchContext *sc); | |||
1042 | * on disk. Note that all internal FS-operations that change | 1042 | * on disk. Note that all internal FS-operations that change |
1043 | * publishing structs should already call "sync" internally, | 1043 | * publishing structs should already call "sync" internally, |
1044 | * so this function is likely not useful for clients. | 1044 | * so this function is likely not useful for clients. |
1045 | * | 1045 | * |
1046 | * @param sr the struct to sync | 1046 | * @param sr the struct to sync |
1047 | */ | 1047 | */ |
1048 | void | 1048 | void |
@@ -1053,7 +1053,7 @@ GNUNET_FS_search_result_sync_ (struct GNUNET_FS_SearchResult *sr); | |||
1053 | * on disk. Note that all internal FS-operations that change | 1053 | * on disk. Note that all internal FS-operations that change |
1054 | * publishing structs should already call "sync" internally, | 1054 | * publishing structs should already call "sync" internally, |
1055 | * so this function is likely not useful for clients. | 1055 | * so this function is likely not useful for clients. |
1056 | * | 1056 | * |
1057 | * @param dc the struct to sync | 1057 | * @param dc the struct to sync |
1058 | */ | 1058 | */ |
1059 | void | 1059 | void |
@@ -1147,7 +1147,7 @@ GNUNET_FS_make_top (struct GNUNET_FS_Handle *h, SuspendSignalFunction ssf, | |||
1147 | 1147 | ||
1148 | /** | 1148 | /** |
1149 | * Destroy a top-level activity entry. | 1149 | * Destroy a top-level activity entry. |
1150 | * | 1150 | * |
1151 | * @param h global fs handle | 1151 | * @param h global fs handle |
1152 | * @param top top level activity entry | 1152 | * @param top top level activity entry |
1153 | */ | 1153 | */ |
@@ -1660,7 +1660,7 @@ enum BlockRequestState | |||
1660 | BRS_RECONSTRUCT_UP = 3, | 1660 | BRS_RECONSTRUCT_UP = 3, |
1661 | 1661 | ||
1662 | /** | 1662 | /** |
1663 | * We've determined the real, desired CHK for this block | 1663 | * We've determined the real, desired CHK for this block |
1664 | * (full tree reconstruction failed), request is now pending. | 1664 | * (full tree reconstruction failed), request is now pending. |
1665 | * If the CHK that bubbled up through reconstruction did match | 1665 | * If the CHK that bubbled up through reconstruction did match |
1666 | * the top-level request, the state machine for the subtree | 1666 | * the top-level request, the state machine for the subtree |
@@ -1672,7 +1672,7 @@ enum BlockRequestState | |||
1672 | * We've successfully downloaded this block, but the children | 1672 | * We've successfully downloaded this block, but the children |
1673 | * still need to be either downloaded or verified (download | 1673 | * still need to be either downloaded or verified (download |
1674 | * request propagates down). If the download fails, the | 1674 | * request propagates down). If the download fails, the |
1675 | * state machine for this block may move to | 1675 | * state machine for this block may move to |
1676 | * BRS_DOWNLOAD_ERROR instead. | 1676 | * BRS_DOWNLOAD_ERROR instead. |
1677 | */ | 1677 | */ |
1678 | BRS_DOWNLOAD_DOWN = 5, | 1678 | BRS_DOWNLOAD_DOWN = 5, |
@@ -2127,7 +2127,7 @@ struct IndexStartMessage | |||
2127 | struct IndexInfoMessage | 2127 | struct IndexInfoMessage |
2128 | { | 2128 | { |
2129 | /** | 2129 | /** |
2130 | * Message type will be | 2130 | * Message type will be |
2131 | * GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY. | 2131 | * GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY. |
2132 | */ | 2132 | */ |
2133 | struct GNUNET_MessageHeader header; | 2133 | struct GNUNET_MessageHeader header; |
@@ -2160,7 +2160,7 @@ struct UnindexMessage | |||
2160 | { | 2160 | { |
2161 | 2161 | ||
2162 | /** | 2162 | /** |
2163 | * Message type will be | 2163 | * Message type will be |
2164 | * GNUNET_MESSAGE_TYPE_FS_UNINDEX. | 2164 | * GNUNET_MESSAGE_TYPE_FS_UNINDEX. |
2165 | */ | 2165 | */ |
2166 | struct GNUNET_MessageHeader header; | 2166 | struct GNUNET_MessageHeader header; |
@@ -2186,13 +2186,13 @@ struct SearchMessage | |||
2186 | { | 2186 | { |
2187 | 2187 | ||
2188 | /** | 2188 | /** |
2189 | * Message type will be | 2189 | * Message type will be |
2190 | * GNUNET_MESSAGE_TYPE_FS_START_SEARCH. | 2190 | * GNUNET_MESSAGE_TYPE_FS_START_SEARCH. |
2191 | */ | 2191 | */ |
2192 | struct GNUNET_MessageHeader header; | 2192 | struct GNUNET_MessageHeader header; |
2193 | 2193 | ||
2194 | /** | 2194 | /** |
2195 | * Bitmask with options. Zero for no options, one for loopback-only. | 2195 | * Bitmask with options. Zero for no options, one for loopback-only. |
2196 | * Other bits are currently not defined. | 2196 | * Other bits are currently not defined. |
2197 | */ | 2197 | */ |
2198 | int32_t options GNUNET_PACKED; | 2198 | int32_t options GNUNET_PACKED; |
@@ -2216,7 +2216,7 @@ struct SearchMessage | |||
2216 | * or similar blunt actions in order to avoid exposing ourselves). | 2216 | * or similar blunt actions in order to avoid exposing ourselves). |
2217 | * <p> | 2217 | * <p> |
2218 | * If the request is for an SBLOCK, this is the identity of the | 2218 | * If the request is for an SBLOCK, this is the identity of the |
2219 | * pseudonym to which the SBLOCK belongs. | 2219 | * pseudonym to which the SBLOCK belongs. |
2220 | * <p> | 2220 | * <p> |
2221 | * If the request is for a KBLOCK, "target" must be all zeros. | 2221 | * If the request is for a KBLOCK, "target" must be all zeros. |
2222 | */ | 2222 | */ |
@@ -2346,7 +2346,7 @@ struct PutMessage | |||
2346 | uint32_t type GNUNET_PACKED; | 2346 | uint32_t type GNUNET_PACKED; |
2347 | 2347 | ||
2348 | /** | 2348 | /** |
2349 | * When does this result expire? | 2349 | * When does this result expire? |
2350 | */ | 2350 | */ |
2351 | struct GNUNET_TIME_AbsoluteNBO expiration; | 2351 | struct GNUNET_TIME_AbsoluteNBO expiration; |
2352 | 2352 | ||
@@ -2362,7 +2362,7 @@ struct PutMessage | |||
2362 | struct MigrationStopMessage | 2362 | struct MigrationStopMessage |
2363 | { | 2363 | { |
2364 | /** | 2364 | /** |
2365 | * Message type will be | 2365 | * Message type will be |
2366 | * GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP. | 2366 | * GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP. |
2367 | */ | 2367 | */ |
2368 | struct GNUNET_MessageHeader header; | 2368 | struct GNUNET_MessageHeader header; |