silc_client_get_clients() always returns SILC_STATUS_ERR_NOT_ENOUGH_PARAMS

silc@holmosapien.com silc at holmosapien.com
Mon Dec 31 15:12:15 CET 2007


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


More information about the silc-devel mailing list