aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/002.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation/tutorial-examples/002.c')
-rw-r--r--doc/documentation/tutorial-examples/002.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/documentation/tutorial-examples/002.c b/doc/documentation/tutorial-examples/002.c
deleted file mode 100644
index 02233fd61..000000000
--- a/doc/documentation/tutorial-examples/002.c
+++ /dev/null
@@ -1,17 +0,0 @@
1static char *string_option;
2static int a_flag;
3
4// ...
5 struct GNUNET_GETOPT_CommandLineOption options[] = {
6 GNUNET_GETOPT_option_string ('s', "name", "SOMESTRING",
7 gettext_noop ("text describing the string_option NAME"),
8 &string_option},
9 GNUNET_GETOPT_option_flag ('f', "flag",
10 gettext_noop ("text describing the flag option"),
11 &a_flag),
12 GNUNET_GETOPT_OPTION_END
13 };
14 string_option = NULL;
15 a_flag = GNUNET_SYSERR;
16// ...
17