CSA_UPDATE_ENTRY_ATTRIBUTES(3)
π csa_update_entry_attributes β library call
okay bestie, welcome to your new obsession: csa_update_entry_attributes, a library call from the CSA crew β¨ (you'll see it hanging out in csa_update..._attributes(library call) circles, and yes, the header is literally that π)
πΈ NAME πΈ
csa_update_entry_attributes β update the calendar entry attributes π
β¨ SYNOPSIS β¨
#include &<xcsa.h>
CSA_return_code csa_update_entry_attributes(
CSA_session_handle session,
CSA_entry_handle entry,
CSA_enum update_scope,
CSA_boolean update_propagation,
CSA_uint32 number_attributes,
CSA_attribute *entry_attributes,
CSA_entry_handle *new_entry,
CSA_extension *update_entry_attributes_extensions);
π¦ DESCRIPTION π¦
so what does this icon actually do? csa_update_entry_attributes updates the values of the entry attributes of the calendar entry you specify. literally every attribute you name in entry_attributes gets its existing value replaced by the new one you hand over. π«Ά
- new attributes? you can add them with this function β¨
- existing attributes you wanna yeet? just set the value part of the
entry_attributesstructure toNULLand congrats, it's effectively deleted π - specify a read-only attribute and the universe hits you with the error
CSA_E_READONLYπ - and the big one: if the function returns an error, none of the specified attributes get updated. all-or-nothing energy, no cap π
as for who's allowed in: only the owner of the calendar, or users with CSA_OWNER_RIGHTS, users with CSA_CHANGE_PUBLIC_ENTRIES, users with CSA_CHANGE_CONFIDENTIAL_ENTRIES, or users with CSA_CHANGE_PRIVATE_ENTRIES can update the entry attributes. the vip list is real π
π ARGUMENTS π
Session (Session Handle)
the opaque session handle that represents a session with the calendaring service β¨
session handles are created by a logon function call and invalidated with a logoff function call. if the session handle is invalid, then the error CSA_E_INVALID_SESSION_HANDLE is returned. rude but fair π
Entry (Entry Handle)
the handle of the calendar entry to be updated. if the entry handle is invalid, then the error CSA_E_INVALID_ENTRY_HANDLE is returned π¦
Update Scope (Enum)
specifies the scope of the entry update. the value is one of these three baddies:
CSA_SCOPE_ALLβ specifies that the scope of the update is for all recurring entries associated with the specified entry π₯CSA_SCOPE_ONEβ specifies that the scope of the update is for just the specified entry, one entry, singular, main character only πCSA_SCOPE_FORWARDβ specifies that the scope of the update is for those recurring entries subsequent to the specified entry. the scope also includes the specified entry β¨
Update Propagation (Boolean)
the update propagation flag π
FALSEβ the calendar service is not to propagate updates to the entry to the attendees' calendarsTRUEβ the calendar service is to attempt to propagate updates to the entry to the attendees' calendars
propagation of updates is an implementation specific feature. implementations that do not support update propagation will return the error CSA_E_UNSUPPORTED_PARAMETER if a value other than FALSE is specified. so likeβ¦ read the room, check your implementation first π
Number Attributes (Uint32)
the number of attributes that will be used to define the entry updates π’
Entry Attributes (Attribute)
a pointer to an array of attributes that will be used to define the entry updates β¨
Update Entry Attributes Extensions (Extension)
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 π
β RETURN VALUE β
New Entry (Entry Handle)
a pointer to the handle of the updated calendar entry π
if this value is NULL, then the implementation did not need to create a new entry handle for the updated entry. this handle is allocated by the service and should be freed with a single call to csa_free(3). single call. one. don't spam it, bestie π
Update Entry Attributes Extensions (Extension)
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 π
π ERRORS π
the csa_update_entry_attributes function returns the following error values:
CSA_E_DISK_FULLβ insufficient disk space was available to complete the requested operation (this may refer to local or shared disk space) π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 operationCSA_E_INVALID_ATTRIBUTEβ an attribute was specified that was not defined by this specification and the implementation does not support the attribute as an application specific attributeCSA_E_INVALID_ATTRIBUTE_VALUEβ an invalid attribute value was specified for an attributeCSA_E_INVALID_DATA_EXTβ the data extension requested is invalidCSA_E_INVALID_ENTRY_HANDLEβ an invalid calendar entry handle was specifiedCSA_E_INVALID_ENUMβ aCSA_enumvalue is invalidCSA_E_INVALID_FLAGβ a flag value in the flags argument was invalidCSA_E_INVALID_FUNCTION_EXTβ the function extension requested is invalidCSA_E_INVALID_PARAMETERβ a function parameter was invalidCSA_E_INVALID_SESSION_HANDLEβ the specified Session Handle is invalid or no longer valid (e.g., after logging off)CSA_E_NO_AUTHORITYβ the user has insufficient authority for this function πCSA_E_READ_ONLYβ an attempt was made to update a readonly attributeCSA_E_SERVICE_UNAVAILABLEβ the requested calendar service is unavailableCSA_E_TEXT_TOO_LARGEβ the size of the text string passed to the implementation is too largeCSA_E_UNSUPPORTED_ATTRIBUTEβ an attribute was encountered that is unsupported by the calendar serviceCSA_E_UNSUPPORTED_DATA_EXTβ the data extension requested is not supportedCSA_E_UNSUPPORTED_ENUMβ the specified enumerated value is not validCSA_E_UNSUPPORTED_FLAGβ the flag requested is not supportedCSA_E_UNSUPPORTED_FUNCTION_EXTβ the specified function extension is not supported orCSA_EXT_REQUIREDis set. the specified function extension is not supported orCSA_EXT_REQUIREDis set. (yes bestie, it says it twice, that's canon π)CSA_E_UNSUPPORTED_PARAMETERβ one of the parameters is not supported
π SEE ALSO π
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_logon(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) π
okay that's the whole page, bestie β go forth and update those attributes responsibly π§β¨
sign-off szn π: this iconic little number is from the csa_update..._attributes(library call) manual, and you can peep it again on that same footer down there β csa_update..._attributes(library call) π¦ ate and left no crumbs π
π¦ 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