*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> csa_x_process_updates (3)              


 csa_x_process_updates(library call)     csa_x_process_updates(library call)

 NAME    [Toc]    [Back]
      csa_x_process_updates - invoke a calendar application's calendar event

 SYNOPSIS    [Toc]    [Back]
      #include <csa/csa.h>
      void csa_x_process_updates(
      CSA_session_handle cal);

 DESCRIPTION    [Toc]    [Back]
      The csa_x_process_updates function checks to see if there have been
      calendar updates that are of interest to the client.  If there have
      been one or more calendar updates, and the client previously
      registered a callback handler using csa_register_callback(3) for
      updates of this type, the callback function is called by

      The cal argument specifies a calendar session handle.  The callback
      function will be invoked only if there have been updates to this
      calendar.  If cal is set to NULL, the callback function will be
      invoked if there have been updates to any logged on calendars.

 RETURN VALUE    [Toc]    [Back]
      The csa_x_process_updates function returns no value.

 APPLICATION USAGE    [Toc]    [Back]
      The csa_x_process_updates function is useful for applications that
      maintain a dynamic representation of calendar information, such as a
      GUI calendar display.  Because the calendar server can simultaneously
      maintain multiple read/write connections for the same calendar, any
      data retrieved by a client should be considered immediately out of
      date.  To create the appearance of a dynamic display of calendar data,
      such an application should call csa_x_process_updates as frequently as
      necessary from within its main event loop.

      One way to do this is to have a timeout handler call
      csa_x_process_updates at regular intervals.  The duration of the timer
      should be appropriate for the expected user environment.  This does
      not eliminate the risk of the client holding outdated information; it
      merely gives the application control over how old the information can

 SEE ALSO    [Toc]    [Back]
      csa/csa.h - csacsa(5), csa_register_callback(3).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
csa_read_calendar_attributes HP-UX read and return the calendar attributes values for a calendar
csa_list_entry_sequence HP-UX lists the recurring calendar entries that are associated with a calendar entry
csa_update_calendar_attributes HP-UX update the calendar attributes values for a calendar
csa_logon HP-UX log on to the calendar service and establish a session with a calendar
csa_list_calendar_attributes HP-UX list the names of the calendar attributes associated with a calendar
csa_delete_calendar HP-UX delete a calendar from the calendar service
csa_read_entry_attributes HP-UX read and return the calendar entry attribute values for a specified calendar entry
csa_add_calendar HP-UX add a calendar to the calendar service
ical IRIX calendar
csa_look_up HP-UX Looks up calendar information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service