donau_os_installation.c (1875B)
1 /* 2 This file is part of GNU Taler. 3 Copyright (C) 2023 Taler Systems SA 4 5 Taler is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published 7 by the Free Software Foundation; either version 3, or (at your 8 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 GNU 13 General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Taler; see the file COPYING. If not, write to the 17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301, USA. 19 */ 20 /** 21 * @file donau_os_installation.c 22 * @brief initialize libgnunet OS subsystem for Donau. 23 * @author Christian Grothoff 24 * @author Lukas Matyja 25 */ 26 #include "donau_config.h" 27 #include "donau_util.h" 28 #include <taler/taler_util.h> 29 #include <gnunet/gnunet_util_lib.h> 30 31 32 /** 33 * Default project data used for installation path detection 34 * for Donau of GNU Taler. //von libgnunetutil 35 */ 36 static const struct GNUNET_OS_ProjectData donau_pd = { 37 .libname = "libdonauutil", 38 .project_dirname = "donau", 39 .binary_name = "donau-httpd", 40 .env_varname = "DONAU_PREFIX", 41 .base_config_varname = "TALER_BASE_CONFIG", 42 .bug_email = "taler@gnu.org", 43 .homepage = "http://www.gnu.org/s/taler/", 44 .config_file = "donau.conf", 45 .user_config_file = "~/.config/donau.conf", 46 .version = PACKAGE_VERSION "-" VCS_VERSION, 47 .is_gnu = 1, 48 .gettext_domain = "donau", 49 .gettext_path = NULL, 50 }; 51 52 53 /** 54 * Return default project data used by Donau. 55 */ 56 const struct GNUNET_OS_ProjectData * 57 DONAU_project_data (void) 58 { 59 return &donau_pd; 60 } 61 62 63 /* end of donau_os_installation.c */