aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_program_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_program_lib.h')
-rw-r--r--src/include/gnunet_program_lib.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_program_lib.h b/src/include/gnunet_program_lib.h
index c434c9170..a65a7510d 100644
--- a/src/include/gnunet_program_lib.h
+++ b/src/include/gnunet_program_lib.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -75,14 +75,14 @@ typedef void
75 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success 75 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success
76 */ 76 */
77int 77int
78GNUNET_PROGRAM_run2 (int argc, 78GNUNET_PROGRAM_run2(int argc,
79 char *const *argv, 79 char *const *argv,
80 const char *binaryName, 80 const char *binaryName,
81 const char *binaryHelp, 81 const char *binaryHelp,
82 const struct GNUNET_GETOPT_CommandLineOption *options, 82 const struct GNUNET_GETOPT_CommandLineOption *options,
83 GNUNET_PROGRAM_Main task, 83 GNUNET_PROGRAM_Main task,
84 void *task_cls, 84 void *task_cls,
85 int run_without_scheduler); 85 int run_without_scheduler);
86 86
87 87
88/** 88/**
@@ -99,13 +99,13 @@ GNUNET_PROGRAM_run2 (int argc,
99 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success 99 * @return #GNUNET_SYSERR on error, #GNUNET_OK on success
100 */ 100 */
101int 101int
102GNUNET_PROGRAM_run (int argc, 102GNUNET_PROGRAM_run(int argc,
103 char *const *argv, 103 char *const *argv,
104 const char *binaryName, 104 const char *binaryName,
105 const char *binaryHelp, 105 const char *binaryHelp,
106 const struct GNUNET_GETOPT_CommandLineOption *options, 106 const struct GNUNET_GETOPT_CommandLineOption *options,
107 GNUNET_PROGRAM_Main task, 107 GNUNET_PROGRAM_Main task,
108 void *task_cls); 108 void *task_cls);
109 109
110 110
111#if 0 /* keep Emacsens' auto-indent happy */ 111#if 0 /* keep Emacsens' auto-indent happy */