along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @author Christian Grothoff
* classes to filter addresses by which domain they make
* sense to be used in. These are used in a bitmask.
*/
-enum GNUNET_TRANSPORT_AddressClass
-{
-
+enum GNUNET_TRANSPORT_AddressClass {
/**
* No address.
*/
* Bitmask for "any" address.
*/
GNUNET_TRANSPORT_AC_ANY = 65535
-
};
* @return handle to cancel the operation
*/
struct GNUNET_TRANSPORT_HelloGetHandle *
-GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
- enum GNUNET_TRANSPORT_AddressClass ac,
- GNUNET_TRANSPORT_HelloUpdateCallback rec,
- void *rec_cls);
+GNUNET_TRANSPORT_hello_get(const struct GNUNET_CONFIGURATION_Handle *cfg,
+ enum GNUNET_TRANSPORT_AddressClass ac,
+ GNUNET_TRANSPORT_HelloUpdateCallback rec,
+ void *rec_cls);
/**
* @param ghh handle to cancel
*/
void
-GNUNET_TRANSPORT_hello_get_cancel (struct GNUNET_TRANSPORT_HelloGetHandle *ghh);
+GNUNET_TRANSPORT_hello_get_cancel(struct GNUNET_TRANSPORT_HelloGetHandle *ghh);
/**
* @return #GNUNET_OK if hello was well-formed, #GNUNET_SYSERR if not
*/
int
-GNUNET_TRANSPORT_hello_parse (const struct GNUNET_MessageHeader *hello,
- GNUNET_TRANSPORT_AddressCallback cb,
- void *cb_cls);
+GNUNET_TRANSPORT_hello_parse(const struct GNUNET_MessageHeader *hello,
+ GNUNET_TRANSPORT_AddressCallback cb,
+ void *cb_cls);
#if 0 /* keep Emacsens' auto-indent happy */