silc_client_get_clients() always returns SILC_STATUS_ERR_NOT_ENOUGH_PARAMS
[email protected] Mon, 31 Dec 2007 08:12:15 -0600
| Newsgroups | gmane.network.silc.devel |
|---|---|
| Message-ID | <[email protected]> |
I am developing an application with SILC functionality using the
libsilc-1.1-2-dev package available in Ubuntu 7.10. I am nearly
complete, save for one peculiar problem that I don't quite know how to
resolve.
I am attempting to retrieve the SilcClientEntry for a nickname using
the silc_client_get_clients() function. I am calling the function and
defining the callback as follows:
...
r = silc_client_get_clients(client, conn, msg->target, NULL,
silc_get_clients, NULL);
...
static void silc_get_clients(SilcClient client,
SilcClientConnection conn, SilcStatus status,
SilcDList clients, void *context) {
if (status != SILC_STATUS_OK) {
printf("silc_get_clients: %s\n", silc_get_status_message(status));
}
return;
}
That seems to correlate with what the documentation specifies.
Any hints?
Thank you,
--
Dan Holm
_______________________________________________________________________
Info: https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ: http://silcnet.org/support/faq/