|
NAMEcsa_logon — log on to the calendar service and establish a session with a calendar SYNOPSIS#include &<xcsa.h> CSA_return_code csa_logon( CSA_service_reference calendar_service, CSA_calendar_user *user, CSA_string password, CSA_string character_set, CSA_string required_csa_version, CSA_session_handle *session, CSA_extension *logon_extensions); DESCRIPTIONThe csa_logon function allows the calling application to logon to the calendar service. If the specified calendar does not exist, then the error CSA_E_CALENDAR_NOT_EXIST is returned. The function returns a Session Handle that the application will use in subsequent CSA calls. ARGUMENTSCalendar Service (Service Reference)A calendar service name specifying the requested calendaring service, (e.g., the path to a calendar store or a remote server node name). This value may be NULL if the underlying calendaring service does not require a service name or if UI is allowed. This may be necessary on some implementations and ignored on others. User (Calendar User)A pointer to the calendar user structure that identifies the user and calendar to the calendaring service. This value may be NULL. Password (String)A string containing the password required for access to the CSA service. This value may be NULL if the underlying calendaring service does not require a password or if UI is allowed. Character Set (String)A CSA formal public identifier string for the character set of strings used by the CSA caller. The client may pass NULL in which case the character set used is determined by the CSA service. The supported values are implementation specific. Required CSA Version (String)The formal public identifier for the CSA version number required by the application. For this version of the specification this string must be ``-//XAPIA/CSA/VERSION1/NONSGML CSA Version 1//EN''. Logon Extensions (Extensions)A pointer to an array of CSA_extension structures for this function. The array may contain both input extensions for providing additional information to the function and output extensions for receiving information from the function. A value of NULL indicates that the caller is not using any extensions. See the extensions structure for more information. Through extensions, the application can find out which extensions are available and set which data extensions will be active for the session. RETURN VALUESession (Session Handle)Opaque session handle that represents a session with the CSA calendar. Logon Extensions (Extensions)If output extensions were passed to the function in the extensions list, the results from the service will be available in the extension. See the extensions structure for more information. Whether the function succeeded or not, and, if not, why. It may be success or one of the values listed under ERRORS below. ERRORSThe csa_logon function returns the following error values:
SEE ALSOcsa/csa.h - csacsa(5), csa_add_calendar(3), csa_add_entry(3), csa_call_callbacks(3), csa_delete_calendar(3), csa_delete_entry(3), csa_free(3), csa_free_time_search(3), csa_list_calendar_attributes(3), csa_list_calendars(3), csa_list_entries(3), csa_list_entry_attributes(3), csa_list_entry_sequence(3), csa_logoff(3), csa_look_up(3), csa_query_configuration(3), csa_read_calendar_attributes(3), csa_read_entry_attributes(3), csa_read_next_reminder(3), csa_register_callback(3), csa_unregister_callback(3), csa_update_calendar_attributes(3), csa_update_entry_attributes(3).
|