Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Programmer's Guide > Chapter 10 Integrating with Calendar

Calendar Management Functions

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section contains descriptions for the calendar management functions supported in the CDE implementation. See the relevant man page for more information.

  • Add calendar - Adds a calendar to the calendar service.

    CSA_return_code
    csa_add_calendar(
    CSA_session_handle session,
    CSA_calendar_user *user,
    CSA_uint32 number_attributes,
    CSA_attribute *calendar_attributes,
    CSA_extension *add_calendar_extensions
    );

    The first argument session is ignored.

    The calendar_address field of the CSA_calendar_user structure pointed to by user specifies the name and the location of the calendar to be created. The format is calendar@location where calendar is the name of the calendar and location is the host name where the calendar is to be stored; for example, my_calendar@my_host.

  • Call Callbacks - Forces the invocation of the callback functions associated with the specified callback list(s).

    CSA_return_code
    csa_call_callbacks(
    CSA_session_handle session,
    CSA_flags reason,
    CSA_extension *call_callbacks_extensions
    );
  • Delete Calendar - Deletes a calendar from the calendar service.

    CSA_return_code
    csa_delete_calendar(
    CSA_session_handle session,
    csa_extension *delete_calendar_extensions
    );
  • List Calendar Attributes - Lists the names of the calendar attributes associated with a calendar.

    CSA_return_code
    csa_list_calendar_attributes(
    CSA_session_handle session,
    CSA_uint32 *number_names,
    CSA_attribute_reference **calendar_attributes_names,
    CSA_extension *list_calendar_attributes_extensions
    );
  • Read Calendar Attributes - Reads and returns the calendar attribute values for a calendar.

    CSA_return_code
    csa_read_calendar_attributes(
    CSA_session_handle session,
    CSA_uint32 number_names,
    CSA_attribute_reference *attribute_names,
    CSA_uint32 *number_attributes,
    CSA_attribute **calendar_attributes,
    CSA_extension *read_calendar_attributes_extensions
    );
  • Register Callback Functions - Registers the callback function to be invoked with the specified type of updates in the calendar.

    CSA_return_code
    csa_register_callback(
    CSA_session_handle session,
    CSA_flags reason,
    CSA_callback callback,
    CSA_buffer client_data,
    CSA_extension *register_callback_extensions
    );
  • Unregister Callback Functions - Unregisters the specified callback function.

    CSA_return_code
    csa_unregister_callback(
    CSA_session_handle session,
    CSA_flags reason,
    CSA_callback callback,
    CSA_buffer client_data,
    CSA_extension *unregister_callback_extensions
    );
  • Update Calendar Attributes - Updates the calendar attribute values for a calendar.

    CSA_return_code
    csa_update_calendar_attributes(
    CSA_session_handle session,
    CSA_uint32 number_attributes,
    CSA_attribute *calendar_attributes,
    CSA_extension *update_calendar_attributes_extensions
    );
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.