diff options
Diffstat (limited to 'src/backend/anastasis-httpd_terms.c')
-rw-r--r-- | src/backend/anastasis-httpd_terms.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/backend/anastasis-httpd_terms.c b/src/backend/anastasis-httpd_terms.c index b4debe7..94a6380 100644 --- a/src/backend/anastasis-httpd_terms.c +++ b/src/backend/anastasis-httpd_terms.c @@ -3,7 +3,7 @@ Copyright (C) 2020 Anastasis SARL Anastasis is free software; you can redistribute it and/or modify it under the - terms of the GNU Lesser General Public License as published by the Free Software + terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY @@ -36,13 +36,6 @@ static struct TALER_MHD_Legal *tos; static struct TALER_MHD_Legal *pp; -/** - * Manages a /terms call. - * - * @param rh context of the handler - * @param connection the MHD connection to handle - * @return MHD result code - */ MHD_RESULT AH_handler_terms (struct AH_RequestHandler *rh, struct MHD_Connection *connection) @@ -53,15 +46,8 @@ AH_handler_terms (struct AH_RequestHandler *rh, } -/** - * Handle a "/privacy" request. - * - * @param rh context of the handler - * @param connection the MHD connection to handle - * @return MHD result code - */ MHD_RESULT -AH_handler_privacy (const struct AH_RequestHandler *rh, +AH_handler_privacy (struct AH_RequestHandler *rh, struct MHD_Connection *connection) { (void) rh; @@ -70,11 +56,6 @@ AH_handler_privacy (const struct AH_RequestHandler *rh, } -/** - * Load our terms of service as per configuration. - * - * @param cfg configuration to process - */ void AH_load_terms (const struct GNUNET_CONFIGURATION_Handle *cfg) { |