summaryrefslogtreecommitdiff
path: root/src/include/gnunet_nt_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_nt_lib.h')
-rw-r--r--src/include/gnunet_nt_lib.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/include/gnunet_nt_lib.h b/src/include/gnunet_nt_lib.h
index 48f3d7352..18419a7b8 100644
--- a/src/include/gnunet_nt_lib.h
+++ b/src/include/gnunet_nt_lib.h
@@ -32,7 +32,8 @@
32/** 32/**
33 * Types of networks (with separate quotas) we support. 33 * Types of networks (with separate quotas) we support.
34 */ 34 */
35enum GNUNET_NetworkType { 35enum GNUNET_NetworkType
36{
36 /** 37 /**
37 * Category of last resort. 38 * Category of last resort.
38 */ 39 */
@@ -77,7 +78,7 @@ enum GNUNET_NetworkType {
77 * @return a string or NULL if invalid 78 * @return a string or NULL if invalid
78 */ 79 */
79const char * 80const char *
80GNUNET_NT_to_string(enum GNUNET_NetworkType net); 81GNUNET_NT_to_string (enum GNUNET_NetworkType net);
81 82
82 83
83/** 84/**
@@ -95,9 +96,9 @@ struct GNUNET_NT_InterfaceScanner;
95 * @return type of the network the address belongs to 96 * @return type of the network the address belongs to
96 */ 97 */
97enum GNUNET_NetworkType 98enum GNUNET_NetworkType
98GNUNET_NT_scanner_get_type(struct GNUNET_NT_InterfaceScanner *is, 99GNUNET_NT_scanner_get_type (struct GNUNET_NT_InterfaceScanner *is,
99 const struct sockaddr *addr, 100 const struct sockaddr *addr,
100 socklen_t addrlen); 101 socklen_t addrlen);
101 102
102 103
103/** 104/**
@@ -106,7 +107,7 @@ GNUNET_NT_scanner_get_type(struct GNUNET_NT_InterfaceScanner *is,
106 * @return scanner handle, NULL on error 107 * @return scanner handle, NULL on error
107 */ 108 */
108struct GNUNET_NT_InterfaceScanner * 109struct GNUNET_NT_InterfaceScanner *
109GNUNET_NT_scanner_init(void); 110GNUNET_NT_scanner_init (void);
110 111
111 112
112/** 113/**
@@ -115,7 +116,7 @@ GNUNET_NT_scanner_init(void);
115 * @param is scanner we are done with 116 * @param is scanner we are done with
116 */ 117 */
117void 118void
118GNUNET_NT_scanner_done(struct GNUNET_NT_InterfaceScanner *is); 119GNUNET_NT_scanner_done (struct GNUNET_NT_InterfaceScanner *is);
119 120
120 121
121#endif 122#endif