diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-15 15:37:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-15 15:38:17 +0200 |
commit | b3ddc93861a6a171eee7c855f83c7a1314f6eaf9 (patch) | |
tree | caa01ab4c3a83832ba2ea8ef1ecc99bd9db7ea6b /src/include/gnunet_identity_service.h | |
parent | eef4fb2cecaa8cf18f9ab9bcc1f0dbda0e1a6c2e (diff) | |
download | gnunet-b3ddc93861a6a171eee7c855f83c7a1314f6eaf9.tar.gz gnunet-b3ddc93861a6a171eee7c855f83c7a1314f6eaf9.zip |
of course it is const
Diffstat (limited to 'src/include/gnunet_identity_service.h')
-rw-r--r-- | src/include/gnunet_identity_service.h | 21 |
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 | |||
329 | GNUNET_IDENTITY_ego_lookup_cancel (struct GNUNET_IDENTITY_EgoLookup *el); | 329 | GNUNET_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 | */ | ||
344 | struct GNUNET_IDENTITY_EgoLookup * | ||
345 | GNUNET_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 |