sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

sync_api_block_delete.c (1615B)


      1 /*
      2   This file is part of TALER
      3   Copyright (C) 2014-2026 Taler Systems SA
      4 
      5   TALER is free software; you can redistribute it and/or modify
      6   it under the terms of the GNU Lesser General Public License as
      7   published by the Free Software Foundation; either version 2.1,
      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 Lesser General Public License for more details.
     14 
     15   You should have received a copy of the GNU Lesser General Public
     16   License along with TALER; see the file COPYING.LGPL.  If not,
     17   see <http://www.gnu.org/licenses/>
     18 */
     19 /**
     20  * @file lib/sync_api_block_delete.c
     21  * @brief Implementation of the block delete (DELETE) operation
     22  * @author Iván Ávalos
     23  */
     24 #include "sync_api_block_operation_common.h"
     25 
     26 
     27 struct SYNC_BlockOperation *
     28 SYNC_block_delete (struct GNUNET_CURL_Context *ctx,
     29                    const char *base_url,
     30                    const struct SYNC_AccountPrivateKeyP *priv,
     31                    const struct SYNC_BlockOperationArgs *args,
     32                    SYNC_BlockOperationCallback cb,
     33                    void *cb_cls)
     34 {
     35   return SYNC_block_operation_internal_ (ctx,
     36                                          base_url,
     37                                          priv,
     38                                          args,
     39                                          cb,
     40                                          cb_cls,
     41                                          true);
     42 }
     43 
     44 
     45 /* end of sync_api_block_delete.c */