| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
NULL on failure.
The args argument must be obtained using cca_extract_args.
The client_class argument must be a string that will never change over
invocations of the program. If using GNU automake, the best way to do this is to use
the PACKAGE_NAME macro that is automatically defined.
The client_flags argument should be 0 or bitwise-OR'd values from this list:
CCA_Config_Data_Set
CCA_Config_File
CCA_Server_Interface
CCA_No_Autoresume
--ladcca-no-autoresume command line option and
should not normally be set by clients themselves.
CCA_Terminal
The protocol argument should be the version of the high-level protocol that the client
implements See Protocol versioning for information on how to contruct a cca_protocol_t
variable.
cca_init. This should be done before the
client checks the arguments, obviously.
cca_event_destroy.
Returns NULL if there are no events pending.
cca_config_destroy.
Returns NULL if there are no configs pending.
cca_event_new or cca_event_new_with_type. The library takes over
ownership of the memory and it should not be freed by the client.
cca_config_new, cca_config_new_with_key or
cca_config_dup. The library takes
over ownership of the memory and it should not be freed by the client.
NULL, and if it
isn't, that the server is still connected.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |