diff options
Diffstat (limited to 'src/include/gnunet_nat_auto_service.h')
-rw-r--r-- | src/include/gnunet_nat_auto_service.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/gnunet_nat_auto_service.h b/src/include/gnunet_nat_auto_service.h index b40c515a5..78284dc01 100644 --- a/src/include/gnunet_nat_auto_service.h +++ b/src/include/gnunet_nat_auto_service.h | |||
@@ -56,11 +56,11 @@ struct GNUNET_NAT_AUTO_Test; | |||
56 | * @return handle to cancel NAT test | 56 | * @return handle to cancel NAT test |
57 | */ | 57 | */ |
58 | struct GNUNET_NAT_AUTO_Test * | 58 | struct GNUNET_NAT_AUTO_Test * |
59 | GNUNET_NAT_AUTO_test_start(const struct GNUNET_CONFIGURATION_Handle *cfg, | 59 | GNUNET_NAT_AUTO_test_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
60 | uint8_t proto, | 60 | uint8_t proto, |
61 | const char *section_name, | 61 | const char *section_name, |
62 | GNUNET_NAT_TestCallback report, | 62 | GNUNET_NAT_TestCallback report, |
63 | void *report_cls); | 63 | void *report_cls); |
64 | 64 | ||
65 | 65 | ||
66 | /** | 66 | /** |
@@ -69,7 +69,7 @@ GNUNET_NAT_AUTO_test_start(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
69 | * @param tst test to stop. | 69 | * @param tst test to stop. |
70 | */ | 70 | */ |
71 | void | 71 | void |
72 | GNUNET_NAT_AUTO_test_stop(struct GNUNET_NAT_AUTO_Test *tst); | 72 | GNUNET_NAT_AUTO_test_stop (struct GNUNET_NAT_AUTO_Test *tst); |
73 | 73 | ||
74 | 74 | ||
75 | /** | 75 | /** |
@@ -85,7 +85,7 @@ struct GNUNET_NAT_AUTO_AutoHandle; | |||
85 | * @return point to a static string containing the error code | 85 | * @return point to a static string containing the error code |
86 | */ | 86 | */ |
87 | const char * | 87 | const char * |
88 | GNUNET_NAT_AUTO_status2string(enum GNUNET_NAT_StatusCode err); | 88 | GNUNET_NAT_AUTO_status2string (enum GNUNET_NAT_StatusCode err); |
89 | 89 | ||
90 | 90 | ||
91 | /** | 91 | /** |
@@ -99,7 +99,8 @@ GNUNET_NAT_AUTO_status2string(enum GNUNET_NAT_StatusCode err); | |||
99 | */ | 99 | */ |
100 | typedef void | 100 | typedef void |
101 | (*GNUNET_NAT_AUTO_AutoResultCallback)(void *cls, | 101 | (*GNUNET_NAT_AUTO_AutoResultCallback)(void *cls, |
102 | const struct GNUNET_CONFIGURATION_Handle *diff, | 102 | const struct |
103 | GNUNET_CONFIGURATION_Handle *diff, | ||
103 | enum GNUNET_NAT_StatusCode result, | 104 | enum GNUNET_NAT_StatusCode result, |
104 | enum GNUNET_NAT_Type type); | 105 | enum GNUNET_NAT_Type type); |
105 | 106 | ||
@@ -114,9 +115,9 @@ typedef void | |||
114 | * @return handle to cancel operation | 115 | * @return handle to cancel operation |
115 | */ | 116 | */ |
116 | struct GNUNET_NAT_AUTO_AutoHandle * | 117 | struct GNUNET_NAT_AUTO_AutoHandle * |
117 | GNUNET_NAT_AUTO_autoconfig_start(const struct GNUNET_CONFIGURATION_Handle *cfg, | 118 | GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
118 | GNUNET_NAT_AUTO_AutoResultCallback cb, | 119 | GNUNET_NAT_AUTO_AutoResultCallback cb, |
119 | void *cb_cls); | 120 | void *cb_cls); |
120 | 121 | ||
121 | 122 | ||
122 | /** | 123 | /** |
@@ -125,7 +126,7 @@ GNUNET_NAT_AUTO_autoconfig_start(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
125 | * @param ah handle for operation to abort | 126 | * @param ah handle for operation to abort |
126 | */ | 127 | */ |
127 | void | 128 | void |
128 | GNUNET_NAT_AUTO_autoconfig_cancel(struct GNUNET_NAT_AUTO_AutoHandle *ah); | 129 | GNUNET_NAT_AUTO_autoconfig_cancel (struct GNUNET_NAT_AUTO_AutoHandle *ah); |
129 | 130 | ||
130 | 131 | ||
131 | #endif | 132 | #endif |