projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'credentials' of git+ssh://gnunet.org/gnunet into credentials
[oweals/gnunet.git]
/
src
/
gns
/
gnunet-service-gns_shorten.h
diff --git
a/src/gns/gnunet-service-gns_shorten.h
b/src/gns/gnunet-service-gns_shorten.h
index 5f583eeb55c321073e1b57feae70eecf73176254..d82bb52f73a8fc5afb3b8c3cecd81eb177583299 100644
(file)
--- a/
src/gns/gnunet-service-gns_shorten.h
+++ b/
src/gns/gnunet-service-gns_shorten.h
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet.
/*
This file is part of GNUnet.
- (C) 2009-2013 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2009-2013 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA.
+ Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA.
*/
/**
* @file gns/gnunet-service-gns_shorten.h
*/
/**
* @file gns/gnunet-service-gns_shorten.h
@@
-26,6
+26,7
@@
#define GNS_SHORTEN_H
#include "gns.h"
#include "gnunet_dht_service.h"
#define GNS_SHORTEN_H
#include "gns.h"
#include "gnunet_dht_service.h"
+#include "gnunet_namecache_service.h"
#include "gnunet_namestore_service.h"
#include "gnunet_namestore_service.h"
@@
-34,10
+35,12
@@
* MUST be called before #GNS_shorten_start.
*
* @param nh handle to the namestore
* MUST be called before #GNS_shorten_start.
*
* @param nh handle to the namestore
+ * @param nc the namecache handle
* @param dht handle to the dht
*/
void
GNS_shorten_init (struct GNUNET_NAMESTORE_Handle *nh,
* @param dht handle to the dht
*/
void
GNS_shorten_init (struct GNUNET_NAMESTORE_Handle *nh,
+ struct GNUNET_NAMECACHE_Handle *nc,
struct GNUNET_DHT_Handle *dht);
struct GNUNET_DHT_Handle *dht);
@@
-59,8
+62,9
@@
GNS_shorten_done (void);
*/
void
GNS_shorten_start (const char *original_label,
*/
void
GNS_shorten_start (const char *original_label,
- const struct GNUNET_CRYPTO_EcdsaPublicKey *pub,
- const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_zone);
+ const char *suggested_label,
+ const struct GNUNET_CRYPTO_EcdsaPublicKey *pub,
+ const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_zone);
#endif
#endif