This file is part of GNUnet.
Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 GNUnet e.V.
- GNUnet is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 3, or (at your
- option) any later version.
+ GNUnet is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License,
+ or (at your option) any later version.
GNUnet is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
+ Affero General Public License for more details.
*/
/**
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_FILENAME ('d',
+ GNUNET_GETOPT_option_filename ('d',
"description",
"FILE",
gettext_noop ("description of the item to be sold"),
&fndesc),
- GNUNET_GETOPT_OPTION_FILENAME ('p',
+ GNUNET_GETOPT_option_filename ('p',
"pricemap",
"FILE",
gettext_noop ("mapping of possible prices"),
&fnprices),
- GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('r',
+ GNUNET_GETOPT_option_relative_time ('r',
"roundtime",
"DURATION",
gettext_noop ("max duration per round"),
&dround),
- GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('s',
+ GNUNET_GETOPT_option_relative_time ('s',
"regtime",
"DURATION",
gettext_noop ("duration until auction starts"),
&dstart),
- GNUNET_GETOPT_OPTION_SET_UINT ('m',
+ GNUNET_GETOPT_option_uint ('m',
"m",
"NUMBER",
gettext_noop ("number of items to sell\n"
">0 for vickrey/M+1st price auction"),
&m),
- GNUNET_GETOPT_OPTION_SET_ONE ('u',
+ GNUNET_GETOPT_option_flag ('u',
"public",
gettext_noop ("public auction outcome"),
&outcome),
- GNUNET_GETOPT_OPTION_SET_ONE ('i',
+ GNUNET_GETOPT_option_flag ('i',
"interactive",
gettext_noop ("keep running in foreground until auction completes"),
&interactive),