Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2005 Pekka Riikonen
+ Copyright (C) 2005 - 2007 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
SilcBool silc_skr_find_set_public_key(SilcSKRFind find,
SilcPublicKey public_key);
-/****f* silcskr/SilcSKRAPI/silc_skr_find_set_public_key
+/****f* silcskr/SilcSKRAPI/silc_skr_find_set_context
*
* SYNOPSIS
*
* to return found keys. If this returns NULL the finding was not
* asynchronous, and the `callback' has been called already.
*
+ * EXAMPLE
+ *
+ * SilcSKRFind find;
+ *
+ * // Find all SILC public keys originating from Finland
+ * find = silc_skr_find_alloc();
+ * silc_skr_find_set_pkcs_type(find, SILC_PKCS_SILC);
+ * silc_skr_find_set_country(find, "FI");
+ *
+ * // Find
+ * silc_skr_find(skr, find, find_callback, cb_context);
+ *
***/
SilcAsyncOperation silc_skr_find(SilcSKR skr, SilcSKRFind find,
SilcSKRFindCallback callback,