donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

donaudb_lib.h (1400B)


      1 /*
      2 This file is part of TALER
      3   Copyright (C) 2014 - 2020 Taler Systems SA
      4 
      5 TALER is free software; you can redistribute it and / or modify it under the
      6 terms of the GNU General Public License as published by the Free Software
      7                                              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 WITHOUT ANY
     11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     12 A PARTICULAR PURPOSE.See the GNU General Public License for more details.
     13 
     14 You should have received a copy of the GNU General Public License along with
     15                                                TALER; see the file
     16 COPYING.If not, see <http:                        // www.gnu.org/licenses/>
     17 */
     18 /**
     19  *@file include/donaudb_lib.h
     20  * @brief IO operations for the donau's private keys
     21  * @author Florian Dold
     22  * @author Benedikt Mueller
     23  * @author Christian Grothoff
     24  */
     25 #ifndef DONAUDB_LIB_H
     26 #define DONAUDB_LIB_H
     27 
     28 #include "donau_signatures.h"
     29 #include "donaudb_plugin.h"
     30 
     31 
     32 /**
     33  * Initialize the plugin.
     34  *
     35  * @param cfg configuration to use
     36  * @return NULL on failure
     37  */
     38 struct DONAUDB_Plugin *
     39 DONAUDB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg);
     40 
     41 
     42 /**
     43  * Shutdown the plugin.
     44  *
     45  * @param plugin plugin to unload
     46  */
     47 void
     48 DONAUDB_plugin_unload (struct DONAUDB_Plugin *plugin);
     49 
     50 #endif