frosix

Multiparty signature service (experimental)
Log | Files | Refs | README | LICENSE

frosix_database_lib.h (1349B)


      1 /*
      2   This file is part of Frosix
      3   Copyright (C) 2019 Anastasis SARL
      4 
      5   Frosix is free software; you can redistribute it and/or modify it under the
      6   terms of the GNU Affero General Public License as published by the Free Software
      7   Foundation; either version 3, or (at your option) any later version.
      8 
      9   Frosix 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 Affero General Public License for more details.
     12 
     13   You should have received a copy of the GNU Affero General Public License along with
     14   Frosix; see the file COPYING.GPL.  If not, see <http://www.gnu.org/licenses/>
     15 */
     16 /**
     17  * @file include/frosix_database_lib.h
     18  * @brief database plugin loader
     19  * @author Dominik Meister
     20  * @author Dennis Neufeld
     21  * @author Christian Grothoff
     22  */
     23 #ifndef FROSIX_DB_LIB_H
     24 #define FROSIX_DB_LIB_H
     25 
     26 #include "frosix_database_plugin.h"
     27 
     28 /**
     29  * Initialize the plugin.
     30  *
     31  * @param cfg configuration to use
     32  * @return NULL on failure
     33  */
     34 struct FROSIX_DatabasePlugin *
     35 FROSIX_DB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg);
     36 
     37 
     38 /**
     39  * Shutdown the plugin.
     40  *
     41  * @param plugin plugin to unload
     42  */
     43 void
     44 FROSIX_DB_plugin_unload (struct FROSIX_DatabasePlugin *plugin);
     45 
     46 
     47 #endif
     48 
     49 /* end of frosix_database_lib.h */