taler-merchant-httpd_private-patch-instances-ID.h (2136B)
1 /* 2 This file is part of TALER 3 (C) 2020 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify 6 it under the terms of the GNU Affero General Public License as 7 published by the Free Software Foundation; either version 3, 8 or (at your option) any later version. 9 10 TALER is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public 16 License along with TALER; see the file COPYING. If not, 17 see <http://www.gnu.org/licenses/> 18 */ 19 20 /** 21 * @file taler-merchant-httpd_private-patch-instances-ID.h 22 * @brief implementing POST /instances request handling 23 * @author Christian Grothoff 24 */ 25 #ifndef TALER_MERCHANT_HTTPD_PRIVATE_PATCH_INSTANCES_ID_H 26 #define TALER_MERCHANT_HTTPD_PRIVATE_PATCH_INSTANCES_ID_H 27 #include "taler-merchant-httpd.h" 28 29 30 /** 31 * PATCH configuration of an existing instance, given its configuration. 32 * This is the handler called using the instance's own authentication. 33 * 34 * @param rh context of the handler 35 * @param connection the MHD connection to handle 36 * @param[in,out] hc context with further information about the request 37 * @return MHD result code 38 */ 39 MHD_RESULT 40 TMH_private_patch_instances_ID (const struct TMH_RequestHandler *rh, 41 struct MHD_Connection *connection, 42 struct TMH_HandlerContext *hc); 43 44 45 /** 46 * PATCH configuration of an existing instance, given its configuration. 47 * This is the handler called using the default instance's authentication. 48 * 49 * @param rh context of the handler 50 * @param connection the MHD connection to handle 51 * @param[in,out] hc context with further information about the request 52 * @return MHD result code 53 */ 54 MHD_RESULT 55 TMH_private_patch_instances_default_ID (const struct TMH_RequestHandler *rh, 56 struct MHD_Connection *connection, 57 struct TMH_HandlerContext *hc); 58 59 #endif