X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_program_lib.h;h=c434c917003fe18574053e474ee1909e15e5117f;hb=6e626937fd5133188d2bd06f280a1b889219eef2;hp=85c802285ab009a5106a207ca97e8e2a964e9883;hpb=b23f7bcde58fdada9170f16af39ab1e84f4c3a68;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_program_lib.h b/src/include/gnunet_program_lib.h index 85c802285..c434c9170 100644 --- a/src/include/gnunet_program_lib.h +++ b/src/include/gnunet_program_lib.h @@ -1,29 +1,31 @@ /* This file is part of GNUnet. - Copyright (C) 2001-2013 Christian Grothoff (and other contributing authors) + Copyright (C) 2001-2013 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. + Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . - 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. + SPDX-License-Identifier: AGPL3.0-or-later */ /** + * @author Christian Grothoff + * * @file * Functions related to starting programs * - * @author Christian Grothoff - * @defgroup program Functions for writing command-line programs + * @defgroup program Program library + * Start command-line programs. * @{ */ @@ -82,6 +84,7 @@ GNUNET_PROGRAM_run2 (int argc, void *task_cls, int run_without_scheduler); + /** * Run a standard GNUnet command startup sequence (initialize loggers * and configuration, parse options). @@ -101,8 +104,8 @@ GNUNET_PROGRAM_run (int argc, const char *binaryName, const char *binaryHelp, const struct GNUNET_GETOPT_CommandLineOption *options, - GNUNET_PROGRAM_Main task, void *task_cls); - + GNUNET_PROGRAM_Main task, + void *task_cls); #if 0 /* keep Emacsens' auto-indent happy */ @@ -112,8 +115,9 @@ GNUNET_PROGRAM_run (int argc, } #endif -/** @} */ /* end of group program */ - /* ifndef GNUNET_PROGRAM_LIB_H */ #endif + +/** @} */ /* end of group program */ + /* end of gnunet_program_lib.h */