diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-02 17:25:41 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-02 17:25:41 +0200 |
commit | 4fe567d9d94b9159254a2f2cce64855a794d9699 (patch) | |
tree | b286f5a454472ec92ff88376b297e411e64c5843 /doc/tutorial/examples/001.c | |
parent | e8b7707f833739851227d4865e6c6064865f19ec (diff) | |
download | gnunet-4fe567d9d94b9159254a2f2cce64855a794d9699.tar.gz gnunet-4fe567d9d94b9159254a2f2cce64855a794d9699.zip |
DOC: Move from texinfo to sphinx
Diffstat (limited to 'doc/tutorial/examples/001.c')
-rw-r--r-- | doc/tutorial/examples/001.c | 29 |
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 7f6699dd2..000000000 --- a/doc/tutorial/examples/001.c +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | #include <gnunet/platform.h> | ||
2 | #include <gnunet/gnunet_util_lib.h> | ||
3 | |||
4 | static int ret; | ||
5 | |||
6 | static void | ||
7 | run (void *cls, | ||
8 | char *const *args, | ||
9 | const char *cfgfile, | ||
10 | const struct GNUNET_CONFIGURATION_Handle *cfg) | ||
11 | { | ||
12 | // main code here | ||
13 | ret = 0; | ||
14 | } | ||
15 | |||
16 | int | ||
17 | main (int argc, char *const *argv) | ||
18 | { | ||
19 | struct GNUNET_GETOPT_CommandLineOption options[] = { | ||
20 | GNUNET_GETOPT_OPTION_END | ||
21 | }; | ||
22 | return (GNUNET_OK == | ||
23 | GNUNET_PROGRAM_run (argc, | ||
24 | argv, | ||
25 | "binary-name", | ||
26 | gettext_noop ("binary description text"), | ||
27 | options, &run, NULL)) ? ret : 1; | ||
28 | } | ||
29 | |||