projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of gnunet.org:gnunet
[oweals/gnunet.git]
/
src
/
include
/
gnunet_program_lib.h
diff --git
a/src/include/gnunet_program_lib.h
b/src/include/gnunet_program_lib.h
index 85c802285ab009a5106a207ca97e8e2a964e9883..c434c917003fe18574053e474ee1909e15e5117f 100644
(file)
--- a/
src/include/gnunet_program_lib.h
+++ b/
src/include/gnunet_program_lib.h
@@
-1,29
+1,31
@@
/*
This file is part of GNUnet.
/*
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,
+ o
r (at your o
ption) 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
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 <http://www.gnu.org/licenses/>.
- 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
*
* @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);
void *task_cls,
int run_without_scheduler);
+
/**
* Run a standard GNUnet command startup sequence (initialize loggers
* and configuration, parse options).
/**
* 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,
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 */
#if 0 /* keep Emacsens' auto-indent happy */
@@
-112,8
+115,9
@@
GNUNET_PROGRAM_run (int argc,
}
#endif
}
#endif
-/** @} */ /* end of group program */
-
/* ifndef GNUNET_PROGRAM_LIB_H */
#endif
/* ifndef GNUNET_PROGRAM_LIB_H */
#endif
+
+/** @} */ /* end of group program */
+
/* end of gnunet_program_lib.h */
/* end of gnunet_program_lib.h */