diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-28 12:03:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-28 12:03:07 +0100 |
commit | af416245918966b790378e48cfe2eaddb7422e2a (patch) | |
tree | b6e3b19f4f65c4d7bc60f335ae48251451934884 /src/auditor/taler-auditor-httpd.c | |
parent | be9ff317dd47d12a9a9c31a0c867b51fa27ebb1b (diff) | |
download | exchange-af416245918966b790378e48cfe2eaddb7422e2a.tar.xz |
implement /exchanges handler in auditor-httpd
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 923f69005..221eac01d 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -29,6 +29,7 @@ #include <sys/resource.h> #include "taler_auditordb_lib.h" #include "taler-auditor-httpd_deposit-confirmation.h" +#include "taler-auditor-httpd_exchanges.h" #include "taler-auditor-httpd_parsing.h" #include "taler-auditor-httpd_mhd.h" #include "taler-auditor-httpd.h" @@ -302,6 +303,9 @@ handle_mhd_request (void *cls, { "/deposit-confirmation", MHD_HTTP_METHOD_PUT, "text/plain", NULL, 0, &TAH_DEPOSIT_CONFIRMATION_handler, MHD_HTTP_OK }, + { "/exchanges", MHD_HTTP_METHOD_GET, "text/plain", + NULL, 0, + &TAH_EXCHANGES_handler, MHD_HTTP_OK }, /* Landing page, for now tells humans to go away (FIXME: replace with auditor's welcome page!) */ |