challenger-httpd_config.h (1383B)
1 /* 2 This file is part of Challenger 3 Copyright (C) 2020 Taler Systems SA 4 5 Challenger is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Lesser General Public License as published by the Free Software 7 Foundation; either version 3, or (at your option) any later version. 8 9 Challenger is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License along with 14 Challenger; see the file COPYING.GPL. If not, see <http://www.gnu.org/licenses/> 15 */ 16 /** 17 * @file challenger/challenger-httpd_config.h 18 * @brief headers for /config handler 19 * @author Christian Grothoff 20 */ 21 #ifndef CHALLENGER_HTTPD_CONFIG_H 22 #define CHALLENGER_HTTPD_CONFIG_H 23 #include <microhttpd.h> 24 #include "challenger-httpd.h" 25 26 /** 27 * Manages a /config call. 28 * 29 * @param[in,out] hc context of the connection 30 * @param upload_data upload data 31 * @param[in,out] upload_data_size number of bytes (left) in @a upload_data 32 * @return MHD result code 33 */ 34 MHD_RESULT 35 CH_handler_config (struct CH_HandlerContext *hc, 36 const char *upload_data, 37 size_t *upload_data_size); 38 39 #endif 40 41 /* end of challenger-httpd_config.h */