gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36661 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r36661 - gnunet/src/include
Date: Sun, 15 Nov 2015 20:10:54 +0100

Author: grothoff
Date: 2015-11-15 20:10:54 +0100 (Sun, 15 Nov 2015)
New Revision: 36661

Modified:
   gnunet/src/include/gnunet_fs_service.h
Log:
-indenting

Modified: gnunet/src/include/gnunet_fs_service.h
===================================================================
--- gnunet/src/include/gnunet_fs_service.h      2015-11-13 07:27:14 UTC (rev 
36660)
+++ gnunet/src/include/gnunet_fs_service.h      2015-11-15 19:10:54 UTC (rev 
36661)
@@ -1582,8 +1582,9 @@
  *         will be passed to future callbacks in the respective
  *         field in the `struct GNUNET_FS_ProgressInfo`.
  */
-typedef void *(*GNUNET_FS_ProgressCallback) (void *cls,
-                                             const struct 
GNUNET_FS_ProgressInfo *info);
+typedef void *
+(*GNUNET_FS_ProgressCallback) (void *cls,
+                               const struct GNUNET_FS_ProgressInfo *info);
 
 
 /**
@@ -1703,9 +1704,9 @@
  */
 struct GNUNET_FS_Handle *
 GNUNET_FS_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                 const char *client_name, 
+                 const char *client_name,
                 GNUNET_FS_ProgressCallback upcb,
-                 void *upcb_cls, 
+                 void *upcb_cls,
                 enum GNUNET_FS_Flags flags,
                 ...);
 
@@ -1738,17 +1739,15 @@
  *         this entry from the directory, #GNUNET_SYSERR
  *         to abort the iteration
  */
-typedef int (*GNUNET_FS_FileInformationProcessor) (void *cls,
-                                                   struct
-                                                   GNUNET_FS_FileInformation *
-                                                   fi, uint64_t length,
-                                                   struct
-                                                   GNUNET_CONTAINER_MetaData *
-                                                   meta,
-                                                   struct GNUNET_FS_Uri ** uri,
-                                                   struct 
GNUNET_FS_BlockOptions
-                                                   * bo, int *do_index,
-                                                   void **client_info);
+typedef int
+(*GNUNET_FS_FileInformationProcessor) (void *cls,
+                                       struct GNUNET_FS_FileInformation *fi,
+                                       uint64_t length,
+                                       struct GNUNET_CONTAINER_MetaData *meta,
+                                       struct GNUNET_FS_Uri ** uri,
+                                       struct GNUNET_FS_BlockOptions *bo,
+                                       int *do_index,
+                                       void **client_info);
 
 
 /**
@@ -1805,13 +1804,10 @@
 GNUNET_FS_file_information_create_from_file (struct GNUNET_FS_Handle *h,
                                              void *client_info,
                                              const char *filename,
-                                             const struct GNUNET_FS_Uri
-                                             *keywords,
-                                             const struct
-                                             GNUNET_CONTAINER_MetaData *meta,
+                                             const struct GNUNET_FS_Uri 
*keywords,
+                                             const struct 
GNUNET_CONTAINER_MetaData *meta,
                                              int do_index,
-                                             const struct 
GNUNET_FS_BlockOptions
-                                             *bo);
+                                             const struct 
GNUNET_FS_BlockOptions *bo);
 
 
 /**
@@ -1832,15 +1828,13 @@
  */
 struct GNUNET_FS_FileInformation *
 GNUNET_FS_file_information_create_from_data (struct GNUNET_FS_Handle *h,
-                                             void *client_info, uint64_t 
length,
+                                             void *client_info,
+                                             uint64_t length,
                                              void *data,
-                                             const struct GNUNET_FS_Uri
-                                             *keywords,
-                                             const struct
-                                             GNUNET_CONTAINER_MetaData *meta,
+                                             const struct GNUNET_FS_Uri 
*keywords,
+                                             const struct 
GNUNET_CONTAINER_MetaData *meta,
                                              int do_index,
-                                             const struct 
GNUNET_FS_BlockOptions
-                                             *bo);
+                                             const struct 
GNUNET_FS_BlockOptions *bo);
 
 
 /**
@@ -1863,8 +1857,12 @@
  * @param emsg location for the reader to store an error message
  * @return number of bytes written, usually @a max, 0 on error
  */
-typedef size_t (*GNUNET_FS_DataReader) (void *cls, uint64_t offset, size_t max,
-                                        void *buf, char **emsg);
+typedef size_t
+(*GNUNET_FS_DataReader) (void *cls,
+                         uint64_t offset,
+                         size_t max,
+                         void *buf,
+                         char **emsg);
 
 
 /**
@@ -2047,9 +2045,10 @@
  * @param uri URI under which the block is now available, NULL on error
  * @param emsg error message, NULL on success
  */
-typedef void (*GNUNET_FS_PublishContinuation) (void *cls,
-                                               const struct GNUNET_FS_Uri *uri,
-                                               const char *emsg);
+typedef void
+(*GNUNET_FS_PublishContinuation) (void *cls,
+                                  const struct GNUNET_FS_Uri *uri,
+                                  const char *emsg);
 
 
 /**
@@ -2140,8 +2139,10 @@
  * @param file_id hash of the contents of the indexed file
  * @return #GNUNET_OK to continue iteration, #GNUNET_SYSERR to abort
  */
-typedef int (*GNUNET_FS_IndexedFileProcessor) (void *cls, const char *filename,
-                                               const struct GNUNET_HashCode * 
file_id);
+typedef int
+(*GNUNET_FS_IndexedFileProcessor) (void *cls,
+                                   const char *filename,
+                                   const struct GNUNET_HashCode *file_id);
 
 
 /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]