aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorial-examples/002.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial-examples/002.c')
-rw-r--r--doc/tutorial-examples/002.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/tutorial-examples/002.c b/doc/tutorial-examples/002.c
deleted file mode 100644
index 02233fd619..0000000000
--- a/doc/tutorial-examples/002.c
+++ /dev/null
@@ -1,17 +0,0 @@
-static char *string_option;
-static int a_flag;
-
-// ...
- struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_option_string ('s', "name", "SOMESTRING",
- gettext_noop ("text describing the string_option NAME"),
- &string_option},
- GNUNET_GETOPT_option_flag ('f', "flag",
- gettext_noop ("text describing the flag option"),
- &a_flag),
- GNUNET_GETOPT_OPTION_END
- };
- string_option = NULL;
- a_flag = GNUNET_SYSERR;
-// ...
-