twister_pd.c (1694B)
1 /* 2 This file is part of Taler. 3 Copyright (C) 2024 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 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. 13 See the 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 write to the Free Software Foundation, Inc., 51 Franklin 18 Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 19 20 /** 21 * @file twister_pd.c 22 * @brief Twister project data 23 * @author Christian Grothoff 24 */ 25 #include "platform.h" 26 #include <gnunet/gnunet_util_lib.h> 27 #include "taler_twister_service.h" 28 29 30 /** 31 * Default project data used for installation path detection 32 * for Twister. 33 */ 34 static const struct GNUNET_OS_ProjectData twister_project_data = { 35 .libname = "libtalertwister", 36 .project_dirname = "twister", 37 .binary_name = "taler-twister", 38 .version = PACKAGE_VERSION " " VCS_VERSION, 39 .env_varname = "TWISTER_PREFIX", 40 .base_config_varname = "TWISTER_BASE_CONFIG", 41 .bug_email = "taler@gnu.org", 42 .homepage = "http://www.gnu.org/s/taler/", 43 .config_file = "twister.conf", 44 .user_config_file = "~/.config/twister.conf", 45 .is_gnu = 1, 46 .gettext_domain = "twister", 47 .gettext_path = NULL, 48 .agpl_url = GNUNET_AGPL_URL, 49 }; 50 51 52 const struct GNUNET_OS_ProjectData * 53 TWISTER_project_data () 54 { 55 return &twister_project_data; 56 }