CSA_LOGON(3)
π NAME π
okay bestie, this is csa_logon from the library call manual, and its whole name vibe is: log on to the calendar service and establish a session with a calendar. No cap, that's the mission. β¨
π 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);
π¦ DESCRIPTION π¦
So csa_logon is the function that lets the calling application log on to the calendar service. If the specified calendar does not exist, then the error CSA_E_CALENDAR_NOT_EXIST is returned β yes, exactly that one. π
The function returns a Session Handle that the application will use in subsequent CSA calls. It's giving VIP wristband energy. π
π ARGUMENTS π
π Calendar 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. iykyk. π
π€ 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. obsessed with a little optional extra data. π«Ά
π₯ RETURN VALUE π₯
πͺͺ Session (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. It also covers whether the function succeeded or not, and, if not, why β it may be success or one of the values listed under ERRORS below. π
π ERRORS π
The csa_logon function returns the following error values:
CSA_E_CALENDAR_NOT_EXISTβ The specified calendar does not exist.CSA_E_FAILUREβ There was a general failure that does not fit the description of any other error code.CSA_E_INSUFFICIENT_MEMORYβ Insufficient memory was available to complete the requested operation.CSA_E_INVALID_CALENDAR_SERVICEβ The underlying calendar service is invalid, so logging on cannot be completed.CSA_E_INVALID_CONFIGURATIONβ The specified logon configuration is inconsistent with the selected calendar service.CSA_E_INVALID_DATA_EXTβ The data extension requested is invalid.CSA_E_INVALID_FLAGβ A flag value in theflagsargument was invalid.CSA_E_INVALID_FUNCTION_EXTβ The function extension requested is invalid.CSA_E_INVALID_PARAMETERβ A function parameter was invalid.CSA_E_INVALID_PASSWORDβ The password is incorrect.CSA_E_INVALID_USERβ The specified calendar user is invalid.CSA_E_NO_AUTHORITYβ The user has insufficient authority for this function.CSA_E_PASSWORD_REQUIREDβ A password is required on this calendar service.CSA_E_SERVICE_UNAVAILABLEβ The requested calendar service is unavailable.CSA_E_TOO_MANY_USERSβ The implementation cannot support the additional logon of another calendar user at this time.CSA_E_UNSUPPORTED_CHARACTER_SETβ The character set requested is not supported.CSA_E_UNSUPPORTED_DATA_EXTβ The data extension requested is not supported.CSA_E_UNSUPPORTED_FUNCTION_EXTβ The specified function extension is not supported orCSA_EXT_REQUIREDis set.CSA_E_UNSUPPORTED_VERSIONβ The specification version specified in the call cannot be supported by this CSA implementation.
π«Ά SEE ALSO π«Ά
Go give these other besties some love too: csa/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).
xoxo, your csa_logon bestie π β source/version: library call manual; date: not shown in the footer, and that's the whole cute sign-off, periodt. π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms