gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28259 - gnunet/src/include
Date: Tue, 23 Jul 2013 07:38:25 +0200

Author: tg
Date: 2013-07-23 07:38:25 +0200 (Tue, 23 Jul 2013)
New Revision: 28259

Modified:
   gnunet/src/include/gnunet_multicast_service.h
   gnunet/src/include/gnunet_psyc_service.h
   gnunet/src/include/gnunet_psycstore_service.h
   gnunet/src/include/gnunet_social_service.h
Log:
untabify

Modified: gnunet/src/include/gnunet_multicast_service.h
===================================================================
--- gnunet/src/include/gnunet_multicast_service.h       2013-07-22 23:31:16 UTC 
(rev 28258)
+++ gnunet/src/include/gnunet_multicast_service.h       2013-07-23 05:38:25 UTC 
(rev 28259)
@@ -364,7 +364,7 @@
  */
 void
 GNUNET_MULTICAST_membership_test_answer (struct 
GNUNET_MULTICAST_MembershipTestHandle *mth,
-                                        int decision);
+                                         int decision);
 
 
 /** 
@@ -379,9 +379,9 @@
  * @param mth Handle to give to GNUNET_MULTICAST_membership_test_answer().
  */
 typedef void (*GNUNET_MULTICAST_MembershipTestCallback)(void *cls,
-                                                       const struct 
GNUNET_PeerIdentity *peer,
-                                                       uint64_t fragment_id,
-                                                       struct 
GNUNET_MULTICAST_MembershipTestHandle *mth);
+                                                        const struct 
GNUNET_PeerIdentity *peer,
+                                                        uint64_t fragment_id,
+                                                        struct 
GNUNET_MULTICAST_MembershipTestHandle *mth);
 
 
 /** 
@@ -436,8 +436,8 @@
  * @param rh Handle to pass to message transmit function.
  */
 typedef void (*GNUNET_MULTICAST_ReplayCallback) (void *cls,
-                                                uint64_t fragment_id,
-                                                struct 
GNUNET_MULTICAST_ReplayHandle *rh);
+                                                 uint64_t fragment_id,
+                                                 struct 
GNUNET_MULTICAST_ReplayHandle *rh);
 
 
 /** 
@@ -481,8 +481,8 @@
  */
 void
 GNUNET_MULTICAST_replay (struct GNUNET_MULTICAST_ReplayHandle *rh,
-                        const struct GNUNET_MULTICAST_MessageHeader *msg,
-                        enum GNUNET_MULTICAST_ReplayErrorCode ec);
+                         const struct GNUNET_MULTICAST_MessageHeader *msg,
+                         enum GNUNET_MULTICAST_ReplayErrorCode ec);
 
 
 /** 
@@ -513,14 +513,14 @@
  */
 struct GNUNET_MULTICAST_Origin *
 GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                              void *cls,
-                              const struct GNUNET_CRYPTO_EccPrivateKey 
*priv_key,
-                              enum GNUNET_MULTICAST_JoinPolicy join_policy,
-                              GNUNET_MULITCAST_ReplayCallback replay_cb,
-                              GNUNET_MULITCAST_MembershipTestCallback test_cb,
-                              GNUNET_MULTICAST_JoinCallback join_cb,
-                              GNUNET_MULTICAST_PartCallback part_cb,
-                              GNUNET_MULTICAST_RequestCallback request_cb);
+                               void *cls,
+                               const struct GNUNET_CRYPTO_EccPrivateKey 
*priv_key,
+                               enum GNUNET_MULTICAST_JoinPolicy join_policy,
+                               GNUNET_MULITCAST_ReplayCallback replay_cb,
+                               GNUNET_MULITCAST_MembershipTestCallback test_cb,
+                               GNUNET_MULTICAST_JoinCallback join_cb,
+                               GNUNET_MULTICAST_PartCallback part_cb,
+                               GNUNET_MULTICAST_RequestCallback request_cb);
 
 
 /** 
@@ -541,9 +541,9 @@
  */
 struct GNUNET_MULTICAST_OriginMessageHandle *
 GNUNET_MULTICAST_origin_to_all (struct GNUNET_MULTICAST_Origin *origin,
-                               size_t size,
-                               GNUNET_CONNECTION_TransmitReadyNotify cb,
-                               void *cb_cls);
+                                size_t size,
+                                GNUNET_CONNECTION_TransmitReadyNotify cb,
+                                void *cb_cls);
 
 
 /** 
@@ -604,15 +604,15 @@
  */
 struct GNUNET_MULTICAST_Member *
 GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                             const struct GNUNET_CRYPTO_EccPublicKey *pub_key,
+                              const struct GNUNET_CRYPTO_EccPublicKey *pub_key,
                               const struct GNUNET_PeerIdentity *origin,
-                             uint64_t max_known_fragment_id,
-                             uint64_t max_known_state_fragment_id,
-                             GNUNET_MULTICAST_ReplayCallback replay_cb,
-                             GNUNET_MULITCAST_MembershipTestCallback test_cb,
-                             GNUNET_MULTICAST_MessageCallback message_cb,
-                             void *cls,
-                             const struct GNUNET_MessageHeader *join_req);
+                              uint64_t max_known_fragment_id,
+                              uint64_t max_known_state_fragment_id,
+                              GNUNET_MULTICAST_ReplayCallback replay_cb,
+                              GNUNET_MULITCAST_MembershipTestCallback test_cb,
+                              GNUNET_MULTICAST_MessageCallback message_cb,
+                              void *cls,
+                              const struct GNUNET_MessageHeader *join_req);
 
 
 /** 
@@ -635,9 +635,9 @@
  */
 struct GNUNET_MULTICAST_MemberReplayHandle *
 GNUNET_MULTICAST_member_request_replay (struct GNUNET_MULTICAST_Member *member,
-                                       uint64_t fragment_id,
-                                       GNUNET_MULTICAST_MessageCallback 
message_cb,
-                                       void *message_cb_cls);
+                                        uint64_t fragment_id,
+                                        GNUNET_MULTICAST_MessageCallback 
message_cb,
+                                        void *message_cb_cls);
 
 
 /** 
@@ -677,9 +677,9 @@
  */
 struct GNUNET_MULTICAST_MemberRequestHandle *
 GNUNET_MULTICAST_member_to_origin (struct GNUNET_MULTICAST_Member *member,
-                                  size_t size,
-                                  GNUNET_CONNECTION_TransmitReadyNotify cb,
-                                  void *cb_cls);
+                                   size_t size,
+                                   GNUNET_CONNECTION_TransmitReadyNotify cb,
+                                   void *cb_cls);
 
 
 /** 

Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h    2013-07-22 23:31:16 UTC (rev 
28258)
+++ gnunet/src/include/gnunet_psyc_service.h    2013-07-23 05:38:25 UTC (rev 
28259)
@@ -161,15 +161,15 @@
  * @param frag Fragmentation status for the data.
  */
 typedef int (*GNUNET_PSYC_Method)(void *cls,
-                                 const struct GNUNET_PeerIdentity *sender,
-                                 uint64_t message_id,
-                                 const char *method_name,
+                                  const struct GNUNET_PeerIdentity *sender,
+                                  uint64_t message_id,
+                                  const char *method_name,
                                   size_t header_length,
                                   GNUNET_PSYC_Modifier *header,
-                                 uint64_t data_offset,
-                                 size_t data_size,
-                                 const void *data,
-                                 enum GNUNET_PSYC_MessageFlags flags);
+                                  uint64_t data_offset,
+                                  size_t data_size,
+                                  const void *data,
+                                  enum GNUNET_PSYC_MessageFlags flags);
 
 
 /** 
@@ -565,9 +565,9 @@
  * @param value_size Number of bytes in @a value.
  */
 typedef void (*GNUNET_PSYC_StateCallback)(void *cls,
-                                         const char *name,
-                                         size_t value_size,
-                                         const void *value);
+                                          const char *name,
+                                          size_t value_size,
+                                          const void *value);
 
 
 /** 

Modified: gnunet/src/include/gnunet_psycstore_service.h
===================================================================
--- gnunet/src/include/gnunet_psycstore_service.h       2013-07-22 23:31:16 UTC 
(rev 28258)
+++ gnunet/src/include/gnunet_psycstore_service.h       2013-07-23 05:38:25 UTC 
(rev 28259)
@@ -82,7 +82,7 @@
  *        #GNUNET_NO if the peer was not a member
  */
 typedef void (*GNUNET_PSYCSTORE_ContinuationCallback)(void *cls,
-                                                     int result);
+                                                      int result);
 
 /** 
  * Store join/leave events for a PSYC channel in order to be able to answer
@@ -126,11 +126,11 @@
  */
 struct GNUNET_PSYCSTORE_OperationHandle *
 GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
-                                 const struct GNUNET_HashCode *channel_id,
-                                 uint64_t fragment_id,
-                                 const struct GNUNET_PeerIdentity *peer,
-                                 GNUNET_PSYCSTORE_ContinuationCallback ccb,
-                                 void *ccb_cls);
+                                  const struct GNUNET_HashCode *channel_id,
+                                  uint64_t fragment_id,
+                                  const struct GNUNET_PeerIdentity *peer,
+                                  GNUNET_PSYCSTORE_ContinuationCallback ccb,
+                                  void *ccb_cls);
 
 
 /** 
@@ -161,7 +161,7 @@
  * @param flags Message flags indicating fragmentation status.
  */
 typedef void (*GNUNET_PSYCSTORE_FragmentResultCallback)(void *cls,
-                                                      const struct 
GNUNET_MULTICAST_MessageHeader *message,
+                                                       const struct 
GNUNET_MULTICAST_MessageHeader *message,
                                                        enum 
GNUNET_PSYC_MessageFlags flags);
 
 
@@ -197,10 +197,10 @@
  */
 struct GNUNET_PSYCSTORE_OperationHandle *
 GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h,
-                             const struct GNUNET_HashCode *channel_id,
-                             uint64_t message_id,
-                             GNUNET_PSYCSTORE_FragmentResultCallback rcb,
-                             void *rcb_cls);
+                              const struct GNUNET_HashCode *channel_id,
+                              uint64_t message_id,
+                              GNUNET_PSYCSTORE_FragmentResultCallback rcb,
+                              void *rcb_cls);
 
 
 /** 
@@ -218,12 +218,12 @@
  */
 struct GNUNET_PSYCSTORE_OperationHandle *
 GNUNET_PSYCSTORE_state_set (struct GNUNET_PSYCSTORE_Handle *h,
-                           const struct GNUNET_HashCode *channel_id,
-                           const char *name,
-                           size_t value_size,
-                           const void *value,
-                           GNUNET_PSYCSTORE_ContinuationCallback ccb,
-                           void *ccb_cls);
+                            const struct GNUNET_HashCode *channel_id,
+                            const char *name,
+                            size_t value_size,
+                            const void *value,
+                            GNUNET_PSYCSTORE_ContinuationCallback ccb,
+                            void *ccb_cls);
 
 
 /** 
@@ -236,9 +236,9 @@
 t * 
  */
 typedef void (*GNUNET_PSYCSTORE_StateResultCallback)(void *cls,
-                                                    const char *name,
-                                                    size_t size,
-                                                    const void *value);
+                                                     const char *name,
+                                                     size_t size,
+                                                     const void *value);
 
 
 /** 
@@ -254,10 +254,10 @@
  */
 struct GNUNET_PSYCSTORE_OperationHandle *
 GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h,
-                           const struct GNUNET_HashCode *channel_id,
-                           const char *name,
-                           GNUNET_PSYCSTORE_StateResultCallback rcb,
-                           void *rcb_cls);
+                            const struct GNUNET_HashCode *channel_id,
+                            const char *name,
+                            GNUNET_PSYCSTORE_StateResultCallback rcb,
+                            void *rcb_cls);
 
 
 /** 
@@ -272,9 +272,9 @@
  */
 struct GNUNET_PSYCSTORE_OperationHandle *
 GNUNET_PSYCSTORE_state_get_all (struct GNUNET_PSYCSTORE_Handle *h,
-                               const struct GNUNET_HashCode *channel_id,
-                               GNUNET_PSYCSTORE_StateResultCallback rcb,
-                               void *rcb_cls);
+                                const struct GNUNET_HashCode *channel_id,
+                                GNUNET_PSYCSTORE_StateResultCallback rcb,
+                                void *rcb_cls);
 
 
 /** 

Modified: gnunet/src/include/gnunet_social_service.h
===================================================================
--- gnunet/src/include/gnunet_social_service.h  2013-07-22 23:31:16 UTC (rev 
28258)
+++ gnunet/src/include/gnunet_social_service.h  2013-07-23 05:38:25 UTC (rev 
28259)
@@ -93,14 +93,14 @@
  * @param flags Message flags indicating fragmentation status.
  */
 typedef int (*GNUNET_SOCIAL_Method)(void *cls,
-                                   const char *full_method_name,
-                                   uint64_t message_id,
+                                    const char *full_method_name,
+                                    uint64_t message_id,
                                     size_t header_length,
                                     GNUNET_PSYC_Modifier *header,
-                                   uint64_t data_offset,
-                                   size_t data_size,
-                                   const void *data,
-                                   enum GNUNET_PSYC_MessageFlags flags);
+                                    uint64_t data_offset,
+                                    size_t data_size,
+                                    const void *data,
+                                    enum GNUNET_PSYC_MessageFlags flags);
 
 
 /** 
@@ -126,9 +126,9 @@
  */
 void
 GNUNET_SOCIAL_slicer_add (struct GNUNET_SOCIAL_Slicer *slicer,
-                         const char *method_name,
-                         GNUNET_SOCIAL_Method method,
-                         void *method_cls);
+                          const char *method_name,
+                          GNUNET_SOCIAL_Method method,
+                          void *method_cls);
 
 
 /** 
@@ -193,11 +193,11 @@
  * @param data Payload given on enter (e.g. a password).
  */
 typedef void (*GNUNET_SOCIAL_AnswerDoorCallback)(void *cls,
-                                                struct GNUNET_SOCIAL_Nym *nym,
+                                                 struct GNUNET_SOCIAL_Nym *nym,
                                                  size_t header_length,
                                                  GNUNET_PSYC_Modifier *header,
-                                                size_t data_size,
-                                                const void *data);
+                                                 size_t data_size,
+                                                 const void *data);
 
 
 /** 
@@ -212,7 +212,7 @@
  * @param header Modifiers present in the message.
  */
 typedef void (*GNUNET_SOCIAL_FarewellCallback)(void *cls,
-                                              struct GNUNET_SOCIAL_Nym *nym,
+                                               struct GNUNET_SOCIAL_Nym *nym,
                                                size_t header_length,
                                                GNUNET_PSYC_Modifier *header);
 
@@ -226,7 +226,7 @@
  *
  * @param cfg Configuration to contact the social service.
  * @param home_keyfile File with the private key for the home,
- *             created if the file does not exist;
+ *              created if the file does not exist;
  *              pass NULL for ephemeral homes.
  * @param join_policy What is our policy for allowing people in?
  * @param ego Owner of the home (host).
@@ -238,13 +238,13 @@
  */
 struct GNUNET_SOCIAL_Home *
 GNUNET_SOCIAL_home_enter (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                         const char *home_keyfile,
-                         enum GNUNET_MULTICAST_JoinPolicy join_policy,
-                         struct GNUNET_SOCIAL_Ego *ego,
-                         struct GNUNET_SOCIAL_Slicer *slicer,
-                         GNUNET_SOCIAL_AnswerDoorCallback listener_cb,
-                         GNUNET_SOCIAL_FarewellCallback farewell_cb,
-                         void *cls);
+                          const char *home_keyfile,
+                          enum GNUNET_MULTICAST_JoinPolicy join_policy,
+                          struct GNUNET_SOCIAL_Ego *ego,
+                          struct GNUNET_SOCIAL_Slicer *slicer,
+                          GNUNET_SOCIAL_AnswerDoorCallback listener_cb,
+                          GNUNET_SOCIAL_FarewellCallback farewell_cb,
+                          void *cls);
 
 
 /** 
@@ -258,7 +258,7 @@
  */
 void
 GNUNET_SOCIAL_home_admit (struct GNUNET_SOCIAL_Home *home,
-                         struct GNUNET_SOCIAL_Nym *nym);
+                          struct GNUNET_SOCIAL_Nym *nym);
 
 
 /** 
@@ -305,7 +305,7 @@
  */
 void
 GNUNET_SOCIAL_nym_get_identity (struct GNUNET_SOCIAL_Nym *nym,
-                               struct GNUNET_CRYPTO_ShortHashCode *identity);
+                                struct GNUNET_CRYPTO_ShortHashCode *identity);
 
 
 /** 
@@ -317,7 +317,7 @@
  */
 void
 GNUNET_SOCIAL_home_get_address (struct GNUNET_SOCIAL_Home *home,
-                               struct GNUNET_HashCode *crypto_address);
+                                struct GNUNET_HashCode *crypto_address);
 
 
 
@@ -463,9 +463,9 @@
  */
 struct GNUNET_SOCIAL_WatchHandle *
 GNUNET_SOCIAL_place_watch (struct GNUNET_SOCIAL_Place *place,
-                          const char *object_filter,
-                          GNUNET_PSYC_StateCallback state_cb,
-                          void *state_cb_cls);
+                           const char *object_filter,
+                           GNUNET_PSYC_StateCallback state_cb,
+                           void *state_cb_cls);
 
 
 /** 
@@ -490,8 +490,8 @@
  */
 struct GNUNET_SOCIAL_LookHandle *
 GNUNET_SOCIAL_place_look (struct GNUNET_SOCIAL_Place *place,
-                         GNUNET_PSYC_StateCallback state_cb,
-                         void *state_cb_cls);
+                          GNUNET_PSYC_StateCallback state_cb,
+                          void *state_cb_cls);
 
 
 /** 
@@ -506,9 +506,9 @@
  */
 struct GNUNET_SOCIAL_LookHandle *
 GNUNET_SOCIAL_place_look_for (struct GNUNET_SOCIAL_Place *place,
-                             const char *object_filter,
-                             GNUNET_PSYC_StateCallback state_cb,
-                             void *state_cb_cls);
+                              const char *object_filter,
+                              GNUNET_PSYC_StateCallback state_cb,
+                              void *state_cb_cls);
 
 
 /** 
@@ -531,8 +531,8 @@
  */
 const void *
 GNUNET_SOCIAL_place_look_at (struct GNUNET_SOCIAL_Place *place,
-                            const char *object_name,
-                            size_t *value_size);
+                             const char *object_name,
+                             size_t *value_size);
 
 
 /** 
@@ -596,8 +596,8 @@
  */
 struct GNUNET_SOCIAL_HistoryLesson *
 GNUNET_SOCIAL_place_get_history (struct GNUNET_SOCIAL_Place *place,
-                                uint64_t start_message_id,
-                                uint64_t end_message_id,
+                                 uint64_t start_message_id,
+                                 uint64_t end_message_id,
                                  const struct GNUNET_SOCIAL_Slicer *slicer,
                                  void (*finish_cb)(void *),
                                  void *finish_cb_cls);




reply via email to

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