uncrustify as demanded.
[oweals/gnunet.git] / src / transport / gnunet-service-transport_ats.h
index 4d3dc6c6f4a13cf6147724b37348b93b6ca63ed6..9c906a9a2a2704e67be86cad1b732984f70fb3da 100644 (file)
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-*/
+
+     You should have received a copy of the GNU Affero General Public License
+     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
+ */
 /**
  * @file transport/gnunet-service-transport_ats.h
  * @brief interfacing between transport and ATS service
  * Initialize ATS subsystem.
  */
 void
-GST_ats_init (void);
+GST_ats_init(void);
 
 
 /**
  * Shutdown ATS subsystem.
  */
 void
-GST_ats_done (void);
+GST_ats_done(void);
 
 
 /**
@@ -46,8 +51,8 @@ GST_ats_done (void);
  * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
  */
 int
-GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
-                  struct GNUNET_ATS_Session *session);
+GST_ats_is_known(const struct GNUNET_HELLO_Address *address,
+                 struct GNUNET_ATS_Session *session);
 
 
 /**
@@ -58,7 +63,7 @@ GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
  * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
  */
 int
-GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address);
+GST_ats_is_known_no_session(const struct GNUNET_HELLO_Address *address);
 
 
 /**
@@ -71,8 +76,8 @@ GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address);
  * @param session the session (can be NULL)
  */
 void
-GST_ats_block_address (const struct GNUNET_HELLO_Address *address,
-                       struct GNUNET_ATS_Session *session);
+GST_ats_block_address(const struct GNUNET_HELLO_Address *address,
+                      struct GNUNET_ATS_Session *session);
 
 
 /**
@@ -84,8 +89,8 @@ GST_ats_block_address (const struct GNUNET_HELLO_Address *address,
  * @param session the session (can be NULL)
  */
 void
-GST_ats_block_reset (const struct GNUNET_HELLO_Address *address,
-                     struct GNUNET_ATS_Session *session);
+GST_ats_block_reset(const struct GNUNET_HELLO_Address *address,
+                    struct GNUNET_ATS_Session *session);
 
 
 /**
@@ -99,9 +104,9 @@ GST_ats_block_reset (const struct GNUNET_HELLO_Address *address,
  * @param prop performance information
  */
 void
-GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address,
-                             struct GNUNET_ATS_Session *session,
-                             const struct GNUNET_ATS_Properties *prop);
+GST_ats_add_inbound_address(const struct GNUNET_HELLO_Address *address,
+                            struct GNUNET_ATS_Session *session,
+                            const struct GNUNET_ATS_Properties *prop);
 
 
 /**
@@ -112,8 +117,8 @@ GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address,
  * @param prop performance information
  */
 void
-GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
-                     const struct GNUNET_ATS_Properties *prop);
+GST_ats_add_address(const struct GNUNET_HELLO_Address *address,
+                    const struct GNUNET_ATS_Properties *prop);
 
 
 /**
@@ -126,8 +131,8 @@ GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
  * @param session the session
  */
 void
-GST_ats_new_session (const struct GNUNET_HELLO_Address *address,
-                     struct GNUNET_ATS_Session *session);
+GST_ats_new_session(const struct GNUNET_HELLO_Address *address,
+                    struct GNUNET_ATS_Session *session);
 
 
 /**
@@ -139,9 +144,9 @@ GST_ats_new_session (const struct GNUNET_HELLO_Address *address,
  * @param bps_out new utilization outbound
  */
 void
-GST_ats_update_utilization (const struct GNUNET_HELLO_Address *address,
-                            uint32_t bps_in,
-                            uint32_t bps_out);
+GST_ats_update_utilization(const struct GNUNET_HELLO_Address *address,
+                           uint32_t bps_in,
+                           uint32_t bps_out);
 
 
 /**
@@ -153,8 +158,8 @@ GST_ats_update_utilization (const struct GNUNET_HELLO_Address *address,
  * @param delay new delay value
  */
 void
-GST_ats_update_delay (const struct GNUNET_HELLO_Address *address,
-                      struct GNUNET_TIME_Relative delay);
+GST_ats_update_delay(const struct GNUNET_HELLO_Address *address,
+                     struct GNUNET_TIME_Relative delay);
 
 
 /**
@@ -165,8 +170,8 @@ GST_ats_update_delay (const struct GNUNET_HELLO_Address *address,
  * @param distance new distance value
  */
 void
-GST_ats_update_distance (const struct GNUNET_HELLO_Address *address,
-                         uint32_t distance);
+GST_ats_update_distance(const struct GNUNET_HELLO_Address *address,
+                        uint32_t distance);
 
 
 /**
@@ -181,8 +186,8 @@ GST_ats_update_distance (const struct GNUNET_HELLO_Address *address,
  * @param session the session
  */
 void
-GST_ats_del_session (const struct GNUNET_HELLO_Address *address,
-                     struct GNUNET_ATS_Session *session);
+GST_ats_del_session(const struct GNUNET_HELLO_Address *address,
+                    struct GNUNET_ATS_Session *session);
 
 
 /**
@@ -193,7 +198,7 @@ GST_ats_del_session (const struct GNUNET_HELLO_Address *address,
  * @param address the address
  */
 void
-GST_ats_expire_address (const struct GNUNET_HELLO_Address *address);
+GST_ats_expire_address(const struct GNUNET_HELLO_Address *address);
 
 
 #endif