Function silc_client_attributes_request
SYNOPSIS
SilcBuffer silc_client_attributes_request(SilcAttribute attribute, ...);
DESCRIPTION
Constructs a Requested Attributes buffer. If the `attribute' is zero (0)
then all attributes are requested. Alternatively, `attribute' and
all variable arguments can each be requested attribute. In this case
the last must be set to zero (0) to complete the variable list of
requested attributes. See SilcAttribute for all attributes.
You can give the returned buffer as argument to for example
silc_client_get_client_by_id_resolve function.
EXAMPLE
Request all attributes
buffer = silc_client_attributes_request(0);
Request only the following attributes
buffer = silc_client_attributes_request(SILC_ATTRIBUTE_USER_INFO,
SILC_ATTRIBUTE_SERVICE,
SILC_ATTRIBUTE_MOOD, 0);
|