1 /*******************************************************************************
5 ** static char sccsid[] = "@(#)cmcb.x 1.3 94/09/22 Copyr 1991 Sun Microsystems, Inc.";
7 ** $XConsortium: cmcb.x /main/1 1996/04/21 19:22:02 drk $
9 ** RESTRICTED CONFIDENTIAL INFORMATION:
11 ** The information in this document is subject to special
12 ** restrictions in a confidential disclosure agreement between
13 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
14 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
15 ** Sun's specific written approval. This document and all copies
16 ** and derivative works thereof must be returned or destroyed at
19 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 *******************************************************************************/
24 * Calendar manager service callback RPC protocol.
27 #if defined(RPC_HDR) || defined(RPC_XDR)
36 % * cal_attr_data - contain names of calendar attributes updated
39 struct cmcb_cal_attr_data {
46 % * add_entry_data - contain information of the deleted entry
48 struct cmcb_add_entry_data {
54 % * delete_entry_data - contain information of the deleted entry
56 struct cmcb_delete_entry_data {
64 % * update_entry_data - contain information of the updated entry
65 % * if new entry id is not resulted from the update, oldid will be
66 % * set to a NULL string ("").
68 struct cmcb_update_entry_data {
77 % * update_data - contains the update reason and specific information
78 % * about the update. No additional data is provided for CSA_CALENDAR_LOGON,
79 % * CSA_CALENDAR_DELETED, and CSA_CALENDAR_ATTRIBUTE_UPDATED
81 %struct cmcb_update_data {
84 % cmcb_cal_attr_data *cdata; /* data for cal attrs updated */
85 % cmcb_add_entry_data *adata; /* data for CSA_ENTRY_ADDED */
86 % cmcb_delete_entry_data *ddata; /* data for CSA_ENTRY_DELETED */
87 % cmcb_update_entry_data *udata; /* data for CSA_ENTRY_UPDATED */
90 %typedef struct cmcb_update_data cmcb_update_data;
93 struct cmcb_update_callback_args {
96 cmcb_update_data data;
102 * The AGENTPROG actually isn't used for callback.
103 * A transient number will be generated instead. It's
104 * just declared here as a "syntax" holder for rpcgen
107 version AGENTVERS_2 {
108 void CMCB_UPDATE_CALLBACK(cmcb_update_callback_args) = 1;