diff options
Diffstat (limited to 'src/include/gnunet_nt_lib.h')
-rw-r--r-- | src/include/gnunet_nt_lib.h | 15 |
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 | */ |
35 | enum GNUNET_NetworkType { | 35 | enum 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 | */ |
79 | const char * | 80 | const char * |
80 | GNUNET_NT_to_string(enum GNUNET_NetworkType net); | 81 | GNUNET_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 | */ |
97 | enum GNUNET_NetworkType | 98 | enum GNUNET_NetworkType |
98 | GNUNET_NT_scanner_get_type(struct GNUNET_NT_InterfaceScanner *is, | 99 | GNUNET_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 | */ |
108 | struct GNUNET_NT_InterfaceScanner * | 109 | struct GNUNET_NT_InterfaceScanner * |
109 | GNUNET_NT_scanner_init(void); | 110 | GNUNET_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 | */ |
117 | void | 118 | void |
118 | GNUNET_NT_scanner_done(struct GNUNET_NT_InterfaceScanner *is); | 119 | GNUNET_NT_scanner_done (struct GNUNET_NT_InterfaceScanner *is); |
119 | 120 | ||
120 | 121 | ||
121 | #endif | 122 | #endif |