summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-19 12:03:26 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-19 12:03:26 +0000
commit7528bcf5a5af0d90c06aeab964e5c6471900ae06 (patch)
tree24d181f1ae50e2cca9a2dcd49e90278e0a4389d7 /src/transport/gnunet-transport.c
parent26c076220f09adcbb79ba296985b78deeb53dd9a (diff)
- updated NAT callback function defintion to no longer carry around strings,
- NAT lib now uses error-code enums to signal success and errors - reworked related code to return errorcodes - added and updated a missing doxygen documention - todo next: testcases
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 28c4c84fb..4487fc0e7 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -545,10 +545,10 @@ display_test_result (struct TestContext *tc, enum TestResult result)
* @param emsg error message, NULL on success
*/
static void
-result_callback (void *cls, int success, const char *emsg)
+result_callback (void *cls, enum GNUNET_NAT_FailureCode result)
{
struct TestContext *tc = cls;
- display_test_result (tc, success);
+ display_test_result (tc, result);
}
/**