aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-pseudonym.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 20:00:18 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 20:00:18 +0000
commit97ae3ebc7d3fe74c7a64b38be16e18a613b6d2c0 (patch)
treeb8a61f427c2ba3c119e2140e27e41edb966b5069 /src/fs/gnunet-pseudonym.c
parentd22616e71b8ef07254ae09c37ff4f75c446d8213 (diff)
downloadgnunet-97ae3ebc7d3fe74c7a64b38be16e18a613b6d2c0.tar.gz
gnunet-97ae3ebc7d3fe74c7a64b38be16e18a613b6d2c0.zip
prep work
Diffstat (limited to 'src/fs/gnunet-pseudonym.c')
-rw-r--r--src/fs/gnunet-pseudonym.c78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/fs/gnunet-pseudonym.c b/src/fs/gnunet-pseudonym.c
new file mode 100644
index 000000000..e443d1e32
--- /dev/null
+++ b/src/fs/gnunet-pseudonym.c
@@ -0,0 +1,78 @@
1/*
2 This file is part of GNUnet.
3 (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 Christian Grothoff (and other contributing authors)
4
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your
8 option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20/**
21 * @file fs/gnunet-pseudonym.c
22 * @brief manage GNUnet namespaces / pseudonyms
23 * @author Christian Grothoff
24 */
25#include "platform.h"
26#include "gnunet_fs_service.h"
27
28static int ret;
29
30/**
31 * Main function that will be run by the scheduler.
32 *
33 * @param cls closure
34 * @param sched the scheduler to use
35 * @param args remaining command-line arguments
36 * @param cfgfile name of the configuration file used (for saving, can be NULL!)
37 * @param cfg configuration
38 */
39static void
40run (void *cls,
41 struct GNUNET_SCHEDULER_Handle *sched,
42 char *const *args,
43 const char *cfgfile,
44 const struct GNUNET_CONFIGURATION_Handle *cfg)
45{
46 // FIXME
47}
48
49
50/**
51 * gnunet-pseudonym command line options
52 */
53static struct GNUNET_GETOPT_CommandLineOption options[] = {
54 // FIXME: options!
55 GNUNET_GETOPT_OPTION_END
56};
57
58
59/**
60 * The main function to inspect GNUnet directories.
61 *
62 * @param argc number of arguments from the command line
63 * @param argv command line arguments
64 * @return 0 ok, 1 on error
65 */
66int
67main (int argc, char *const *argv)
68{
69 return (GNUNET_OK ==
70 GNUNET_PROGRAM_run (argc,
71 argv,
72 "gnunet-pseudonym",
73 gettext_noop
74 ("Manage GNUnet pseudonyms."),
75 options, &run, NULL)) ? ret : 1;
76}
77
78/* end of gnunet-pseudonym.c */