aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorial-examples/001.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial-examples/001.c')
-rw-r--r--doc/tutorial-examples/001.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/doc/tutorial-examples/001.c b/doc/tutorial-examples/001.c
deleted file mode 100644
index 7f6699dd22..0000000000
--- a/doc/tutorial-examples/001.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <gnunet/platform.h>
-#include <gnunet/gnunet_util_lib.h>
-
-static int ret;
-
-static void
-run (void *cls,
- char *const *args,
- const char *cfgfile,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
-{
- // main code here
- ret = 0;
-}
-
-int
-main (int argc, char *const *argv)
-{
- struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_END
- };
- return (GNUNET_OK ==
- GNUNET_PROGRAM_run (argc,
- argv,
- "binary-name",
- gettext_noop ("binary description text"),
- options, &run, NULL)) ? ret : 1;
-}
-