[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: of course it is const
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: of course it is const |
Date: |
Sat, 15 Jun 2019 15:39:06 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new b3ddc9386 of course it is const
b3ddc9386 is described below
commit b3ddc93861a6a171eee7c855f83c7a1314f6eaf9
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Jun 15 15:37:00 2019 +0200
of course it is const
---
src/include/gnunet_identity_service.h | 21 +++++++++++++++++++++
src/include/gnunet_strings_lib.h | 2 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/include/gnunet_identity_service.h
b/src/include/gnunet_identity_service.h
index 4cc84d7c2..b2472da43 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -329,6 +329,27 @@ void
GNUNET_IDENTITY_ego_lookup_cancel (struct GNUNET_IDENTITY_EgoLookup *el);
+/**
+ * Obtain the ego with the maximum suffix match between the
+ * ego's name and the given domain name @a suffix. I.e., given
+ * a @a suffix "a.b.c" and egos with names "d.a.b.c", "b.c" and "c",
+ * we return the ego for "b.c".
+ *
+ * @param id identity service to query
+ * @param suffix for which domain name suffix is an identity wanted
+ * @param cb function to call with the result (will only be called once)
+ * @param cb_cls closure for @a cb
+ * @return handle to abort the operation
+ */
+struct GNUNET_IDENTITY_EgoLookup *
+GNUNET_IDENTITY_ego_lookup_by_suffix (struct GNUNET_IDENTITY_Handle *id,
+ const char *suffix,
+ GNUNET_IDENTITY_EgoCallback cb,
+ void *cb_cls);
+
+
+
+
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 9962160f2..f43567611 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -222,7 +222,7 @@ GNUNET_STRINGS_buffer_fill (char *buffer,
* in the buffer and assign the count (varargs) of type "const char**"
* to the locations of the respective strings in the buffer.
*
- * @param buffer the buffer to parse FIXME: not 'const', is it?
+ * @param buffer the buffer to parse
* @param size size of the @a buffer
* @param count number of strings to locate
* @param ... pointers to where to store the strings
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: of course it is const,
gnunet <=