aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_identity_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_identity_service.h')
-rw-r--r--src/include/gnunet_identity_service.h21
1 files changed, 21 insertions, 0 deletions
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
329GNUNET_IDENTITY_ego_lookup_cancel (struct GNUNET_IDENTITY_EgoLookup *el); 329GNUNET_IDENTITY_ego_lookup_cancel (struct GNUNET_IDENTITY_EgoLookup *el);
330 330
331 331
332/**
333 * Obtain the ego with the maximum suffix match between the
334 * ego's name and the given domain name @a suffix. I.e., given
335 * a @a suffix "a.b.c" and egos with names "d.a.b.c", "b.c" and "c",
336 * we return the ego for "b.c".
337 *
338 * @param id identity service to query
339 * @param suffix for which domain name suffix is an identity wanted
340 * @param cb function to call with the result (will only be called once)
341 * @param cb_cls closure for @a cb
342 * @return handle to abort the operation
343 */
344struct GNUNET_IDENTITY_EgoLookup *
345GNUNET_IDENTITY_ego_lookup_by_suffix (struct GNUNET_IDENTITY_Handle *id,
346 const char *suffix,
347 GNUNET_IDENTITY_EgoCallback cb,
348 void *cb_cls);
349
350
351
352
332#if 0 /* keep Emacsens' auto-indent happy */ 353#if 0 /* keep Emacsens' auto-indent happy */
333{ 354{
334#endif 355#endif