123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: cm.h /main/1 1996/04/21 19:21:53 drk $ */
- /*
- * (c) Copyright 1993, 1994 Hewlett-Packard Company
- * (c) Copyright 1993, 1994 International Business Machines Corp.
- * (c) Copyright 1993, 1994 Novell, Inc.
- * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
- */
- #ifndef _CM_H
- #define _CM_H
- #ifndef SunOS
- #include <rpc/types.h>
- #endif /* Sun */
- #include <rpc/rpc.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "csa.h"
- #include "connection.h"
- /*
- * cms_name - a user name or calendar name which is
- * variable length character string
- */
- typedef char *cms_name;
- /*
- * buffer - a variable length character string
- */
- typedef char *buffer;
- /*
- * cms_access_entry - data structure for the access list attribute
- */
- struct cms_access_entry {
- cms_name user;
- u_int rights;
- struct cms_access_entry *next;
- };
- typedef struct cms_access_entry cms_access_entry;
- /*
- * cms_attribute_value - data structure for attribute value
- */
- struct cms_attribute_value {
- int type;
- union {
- CSA_boolean boolean_value;
- CSA_enum enumerated_value;
- CSA_flags flags_value;
- long sint32_value;
- unsigned long uint32_value;
- char *string_value;
- char *calendar_user_value;
- char *date_time_value;
- char *date_time_range_value;
- char *time_duration_value;
- cms_access_entry *access_list_value;
- CSA_date_time_entry *date_time_list_value;
- CSA_reminder *reminder_value;
- CSA_opaque_data *opaque_data_value;
- } item;
- };
- typedef struct cms_attribute_value cms_attribute_value;
- /*
- * cms_key consists of the time and the unique
- * identifier of the entry.
- */
- struct cms_key {
- time_t time;
- long id;
- };
- typedef struct cms_key cms_key;
- /*
- * num contains the hashed number for the associated name assigned
- * by the server. Client should not change its value.
- * If it's zero, name is not hashed yet.
- */
- struct cms_attr_name {
- short num;
- cms_name name;
- };
- typedef struct cms_attr_name cms_attr_name;
- /*
- *
- */
- struct cms_attribute {
- cms_attr_name name;
- cms_attribute_value *value;
- };
- typedef struct cms_attribute cms_attribute;
- /*
- * An entry is identified by an identifier unique within the calendar
- * and has a variable number of attributes associated with it.
- */
- struct cms_entry {
- cms_key key;
- u_int num_attrs;
- cms_attribute *attrs;
- struct cms_entry *next;
- };
- typedef struct cms_entry cms_entry;
- /*
- * cms_enumerate_calendar_attr_res
- *
- * If stat is CSA_SUCCESS, names contains an array of names.
- */
- struct cms_enumerate_calendar_attr_res {
- CSA_return_code stat;
- u_int num_names;
- cms_attr_name *names;
- };
- typedef struct cms_enumerate_calendar_attr_res cms_enumerate_calendar_attr_res;
- /*
- * cms_list_calendars_res
- *
- * If stat is CSA_SUCCESS, names contains an array of names.
- */
- struct cms_list_calendars_res {
- CSA_return_code stat;
- u_int num_names;
- cms_name *names;
- };
- typedef struct cms_list_calendars_res cms_list_calendars_res;
- /*
- * cms_open_args - used by CMS_OPEN_CALENDAR
- */
- struct cms_open_args {
- cms_name cal;
- int pid;
- };
- typedef struct cms_open_args cms_open_args;
- /*
- * cms_open_res - returned by CMS_OPEN_CALENDAR
- *
- * If stat is DtCm_OK,
- * svr_vers contains the version number of the server,
- * file_vers contains the version number of the callog file,
- * user_access is the calling user's access right to the calendar
- * num_attrs indicates the size of the array pointed to by attrs,
- * and attrs contains an array of calendar attributes.
- */
- struct cms_open_res {
- CSA_return_code stat;
- int svr_vers;
- int file_vers;
- u_int user_access;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_open_res cms_open_res;
- /*
- * cms_create_args - used by CMS_CREATE_CALENDAR
- */
- struct cms_create_args {
- cms_name cal;
- buffer char_set;
- int pid;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_create_args cms_create_args;
- /*
- * cms_remove_args - used by CMS_REMOVE_CALENDAR
- */
- struct cms_remove_args {
- cms_name cal;
- int pid;
- };
- typedef struct cms_remove_args cms_remove_args;
- /*
- * cms_register_args - used by CMS_REGISTER and CMS_UNREGISTER
- */
- struct cms_register_args {
- cms_name cal;
- u_int update_type;
- u_long prognum;
- u_long versnum;
- u_long procnum;
- int pid;
- };
- typedef struct cms_register_args cms_register_args;
- /*
- * cms_get_cal_attr_res - used by CMS_GET_CALENDAR_ATTR
- *
- * If stat is CSA_SUCCESS, attrs contains an array of attributes.
- */
- struct cms_get_cal_attr_res {
- CSA_return_code stat;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_get_cal_attr_res cms_get_cal_attr_res;
- /*
- * cms_get_cal_attr_args - used by CMS_GET_CALENDAR_ATTR
- */
- struct cms_get_cal_attr_args {
- cms_name cal;
- u_int num_names;
- cms_attr_name *names;
- };
- typedef struct cms_get_cal_attr_args cms_get_cal_attr_args;
- /*
- * cms_set_cal_attr_args - used by CMS_SET_CALENDAR_ATTR
- */
- struct cms_set_cal_attr_args {
- cms_name cal;
- int pid;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_set_cal_attr_args cms_set_cal_attr_args;
- /*
- * cms_archive_res - used by CMS_ARCHIVE
- *
- * If stat is CSA_SUCCESS, data contains the data to be archived
- */
- struct cms_archive_res {
- CSA_return_code stat;
- buffer data;
- };
- typedef struct cms_archive_res cms_archive_res;
- /*
- * cms_archive_args - used by CMS_ARCHIVE
- */
- struct cms_archive_args {
- cms_name cal;
- bool_t delete;
- buffer char_set;
- CSA_uint32 num_attrs;
- cms_attribute *attrs;
- CSA_enum *ops;
- };
- typedef struct cms_archive_args cms_archive_args;
- /*
- * cms_restore_args - used by CMS_RESTORE
- */
- struct cms_restore_args {
- cms_name cal;
- buffer data;
- buffer char_set;
- CSA_uint32 num_attrs;
- cms_attribute *attrs;
- CSA_enum *ops;
- };
- typedef struct cms_restore_args cms_restore_args;
- /*
- * cms_reminder
- */
- struct cms_reminder_ref {
- buffer reminder_name;
- buffer entryid;
- cms_key key;
- time_t runtime;
- struct cms_reminder_ref *next;
- };
- typedef struct cms_reminder_ref cms_reminder_ref;
- /*
- * cms_reminder_res - used by CMS_LOOKUP_REMINDER
- *
- * If stat is CSA_SUCCESS, rems contains an array of reminders.
- */
- struct cms_reminder_res {
- CSA_return_code stat;
- cms_reminder_ref *rems;
- };
- typedef struct cms_reminder_res cms_reminder_res;
- /*
- * cms_reminder_args - used by CMS_LOOKUP_REMINDER
- */
- struct cms_reminder_args {
- cms_name cal;
- time_t tick;
- u_int num_names;
- cms_attr_name *names;
- };
- typedef struct cms_reminder_args cms_reminder_args;
- /*
- * cms_entries_res
- *
- * If stat is CSA_SUCCESS, entries contains an array of entries.
- */
- struct cms_entries_res {
- CSA_return_code stat;
- cms_entry *entries;
- };
- typedef struct cms_entries_res cms_entries_res;
- /*
- * cms_lookup_entries_args - used by CMS_LOOKUP_ENTRIES
- */
- struct cms_lookup_entries_args {
- cms_name cal;
- buffer char_set;
- u_int num_attrs;
- cms_attribute *attrs;
- CSA_enum *ops;
- };
- typedef struct cms_lookup_entries_args cms_lookup_entries_args;
- /*
- * cms_enumerate_args - used by CMS_ENUERATE_SEQUENCE
- */
- struct cms_enumerate_args {
- cms_name cal;
- long id;
- long start;
- long end;
- };
- typedef struct cms_enumerate_args cms_enumerate_args;
- /*
- * If stat is CSA_SUCCESS, attrs contains an array of
- * attributes.
- */
- struct cms_get_entry_attr_res_item {
- CSA_return_code stat;
- cms_key key;
- u_int num_attrs;
- cms_attribute *attrs;
- struct cms_get_entry_attr_res_item *next;
- };
- typedef struct cms_get_entry_attr_res_item cms_get_entry_attr_res_item;
- /*
- * cms_get_entry_attr_res - used by CMS_GET_ENTRY_ATTR
- *
- * If stat is CSA_SUCCESS, entries contains an array of
- * cms_get_entry_attr_res_item structures.
- */
- struct cms_get_entry_attr_res {
- CSA_return_code stat;
- cms_get_entry_attr_res_item *entries;
- };
- typedef struct cms_get_entry_attr_res cms_get_entry_attr_res;
- /*
- * cms_get_entry_attr_args - used by CMS_GET_ENTRY_ATTR
- */
- struct cms_get_entry_attr_args {
- cms_name cal;
- u_int num_keys;
- cms_key *keys;
- u_int num_names;
- cms_attr_name *names;
- };
- typedef struct cms_get_entry_attr_args cms_get_entry_attr_args;
- /*
- * cms_entry_res
- *
- * If stat is CSA_SUCCESS, entry points to an entry.
- */
- struct cms_entry_res {
- CSA_return_code stat;
- cms_entry *entry;
- };
- typedef struct cms_entry_res cms_entry_res;
- /*
- * cms_insert_args - used by CMS_INSERT_ENTRY
- */
- struct cms_insert_args {
- cms_name cal;
- int pid;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_insert_args cms_insert_args;
- /*
- * cms_update_args - used by CMS_UPDATE_ENTRY
- */
- struct cms_update_args {
- cms_name cal;
- int pid;
- cms_key entry;
- int scope;
- u_int num_attrs;
- cms_attribute *attrs;
- };
- typedef struct cms_update_args cms_update_args;
- /*
- * cms_delete_args - used by CMS_DELETE_ENTRY
- */
- struct cms_delete_args {
- cms_name cal;
- int pid;
- cms_key entry;
- int scope;
- };
- typedef struct cms_delete_args cms_delete_args;
- #define TABLEPROG ((unsigned long)(100068))
- #define TABLEVERS ((unsigned long)(5))
- #if defined(__STDC__) || defined(__cplusplus)
- #define CMS_PING ((unsigned long)(0))
- extern void * cms_ping_5(void *, _DtCm_Connection *);
- extern void * cms_ping_5_svc(void *, struct svc_req *);
- #define CMS_LIST_CALENDARS ((unsigned long)(1))
- extern cms_list_calendars_res * cms_list_calendars_5(void *, _DtCm_Connection *);
- extern cms_list_calendars_res * cms_list_calendars_5_svc(void *, struct svc_req *);
- #define CMS_OPEN_CALENDAR ((unsigned long)(2))
- extern cms_open_res * cms_open_calendar_5(cms_open_args *, _DtCm_Connection *);
- extern cms_open_res * cms_open_calendar_5_svc(cms_open_args *, struct svc_req *);
- #define CMS_CREATE_CALENDAR ((unsigned long)(3))
- extern CSA_return_code * cms_create_calendar_5(cms_create_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_create_calendar_5_svc(cms_create_args *, struct svc_req *);
- #define CMS_REMOVE_CALENDAR ((unsigned long)(4))
- extern CSA_return_code * cms_remove_calendar_5(cms_remove_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_remove_calendar_5_svc(cms_remove_args *, struct svc_req *);
- #define CMS_REGISTER ((unsigned long)(5))
- extern CSA_return_code * cms_register_5(cms_register_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_register_5_svc(cms_register_args *, struct svc_req *);
- #define CMS_UNREGISTER ((unsigned long)(6))
- extern CSA_return_code * cms_unregister_5(cms_register_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_unregister_5_svc(cms_register_args *, struct svc_req *);
- #define CMS_ENUMERATE_CALENDAR_ATTR ((unsigned long)(7))
- extern cms_enumerate_calendar_attr_res * cms_enumerate_calendar_attr_5(cms_name *, _DtCm_Connection *);
- extern cms_enumerate_calendar_attr_res * cms_enumerate_calendar_attr_5_svc(cms_name *, struct svc_req *);
- #define CMS_GET_CALENDAR_ATTR ((unsigned long)(8))
- extern cms_get_cal_attr_res * cms_get_calendar_attr_5(cms_get_cal_attr_args *, _DtCm_Connection *);
- extern cms_get_cal_attr_res * cms_get_calendar_attr_5_svc(cms_get_cal_attr_args *, struct svc_req *);
- #define CMS_SET_CALENDAR_ATTR ((unsigned long)(9))
- extern CSA_return_code * cms_set_calendar_attr_5(cms_set_cal_attr_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_set_calendar_attr_5_svc(cms_set_cal_attr_args *, struct svc_req *);
- #define CMS_ARCHIVE ((unsigned long)(10))
- extern cms_archive_res * cms_archive_5(cms_archive_args *, _DtCm_Connection *);
- extern cms_archive_res * cms_archive_5_svc(cms_archive_args *, struct svc_req *);
- #define CMS_RESTORE ((unsigned long)(11))
- extern CSA_return_code * cms_restore_5(cms_restore_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_restore_5_svc(cms_restore_args *, struct svc_req *);
- #define CMS_LOOKUP_REMINDER ((unsigned long)(12))
- extern cms_reminder_res * cms_lookup_reminder_5(cms_reminder_args *, _DtCm_Connection *);
- extern cms_reminder_res * cms_lookup_reminder_5_svc(cms_reminder_args *, struct svc_req *);
- #define CMS_LOOKUP_ENTRIES ((unsigned long)(13))
- extern cms_entries_res * cms_lookup_entries_5(cms_lookup_entries_args *, _DtCm_Connection *);
- extern cms_entries_res * cms_lookup_entries_5_svc(cms_lookup_entries_args *, struct svc_req *);
- #define CMS_ENUMERATE_SEQUENCE ((unsigned long)(14))
- extern cms_entries_res * cms_enumerate_sequence_5(cms_enumerate_args *, _DtCm_Connection *);
- extern cms_entries_res * cms_enumerate_sequence_5_svc(cms_enumerate_args *, struct svc_req *);
- #define CMS_GET_ENTRY_ATTR ((unsigned long)(15))
- extern cms_get_entry_attr_res * cms_get_entry_attr_5(cms_get_entry_attr_args *, _DtCm_Connection *);
- extern cms_get_entry_attr_res * cms_get_entry_attr_5_svc(cms_get_entry_attr_args *, struct svc_req *);
- #define CMS_INSERT_ENTRY ((unsigned long)(16))
- extern cms_entry_res * cms_insert_entry_5(cms_insert_args *, _DtCm_Connection *);
- extern cms_entry_res * cms_insert_entry_5_svc(cms_insert_args *, struct svc_req *);
- #define CMS_UPDATE_ENTRY ((unsigned long)(17))
- extern cms_entry_res * cms_update_entry_5(cms_update_args *, _DtCm_Connection *);
- extern cms_entry_res * cms_update_entry_5_svc(cms_update_args *, struct svc_req *);
- #define CMS_DELETE_ENTRY ((unsigned long)(18))
- extern CSA_return_code * cms_delete_entry_5(cms_delete_args *, _DtCm_Connection *);
- extern CSA_return_code * cms_delete_entry_5_svc(cms_delete_args *, struct svc_req *);
- extern int tableprog_5_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
- #else /* K&R C */
- #define CMS_PING ((unsigned long)(0))
- extern void * cms_ping_5();
- extern void * cms_ping_5_svc();
- #define CMS_LIST_CALENDARS ((unsigned long)(1))
- extern cms_list_calendars_res * cms_list_calendars_5();
- extern cms_list_calendars_res * cms_list_calendars_5_svc();
- #define CMS_OPEN_CALENDAR ((unsigned long)(2))
- extern cms_open_res * cms_open_calendar_5();
- extern cms_open_res * cms_open_calendar_5_svc();
- #define CMS_CREATE_CALENDAR ((unsigned long)(3))
- extern CSA_return_code * cms_create_calendar_5();
- extern CSA_return_code * cms_create_calendar_5_svc();
- #define CMS_REMOVE_CALENDAR ((unsigned long)(4))
- extern CSA_return_code * cms_remove_calendar_5();
- extern CSA_return_code * cms_remove_calendar_5_svc();
- #define CMS_REGISTER ((unsigned long)(5))
- extern CSA_return_code * cms_register_5();
- extern CSA_return_code * cms_register_5_svc();
- #define CMS_UNREGISTER ((unsigned long)(6))
- extern CSA_return_code * cms_unregister_5();
- extern CSA_return_code * cms_unregister_5_svc();
- #define CMS_ENUMERATE_CALENDAR_ATTR ((unsigned long)(7))
- extern cms_enumerate_calendar_attr_res * cms_enumerate_calendar_attr_5();
- extern cms_enumerate_calendar_attr_res * cms_enumerate_calendar_attr_5_svc();
- #define CMS_GET_CALENDAR_ATTR ((unsigned long)(8))
- extern cms_get_cal_attr_res * cms_get_calendar_attr_5();
- extern cms_get_cal_attr_res * cms_get_calendar_attr_5_svc();
- #define CMS_SET_CALENDAR_ATTR ((unsigned long)(9))
- extern CSA_return_code * cms_set_calendar_attr_5();
- extern CSA_return_code * cms_set_calendar_attr_5_svc();
- #define CMS_ARCHIVE ((unsigned long)(10))
- extern cms_archive_res * cms_archive_5();
- extern cms_archive_res * cms_archive_5_svc();
- #define CMS_RESTORE ((unsigned long)(11))
- extern CSA_return_code * cms_restore_5();
- extern CSA_return_code * cms_restore_5_svc();
- #define CMS_LOOKUP_REMINDER ((unsigned long)(12))
- extern cms_reminder_res * cms_lookup_reminder_5();
- extern cms_reminder_res * cms_lookup_reminder_5_svc();
- #define CMS_LOOKUP_ENTRIES ((unsigned long)(13))
- extern cms_entries_res * cms_lookup_entries_5();
- extern cms_entries_res * cms_lookup_entries_5_svc();
- #define CMS_ENUMERATE_SEQUENCE ((unsigned long)(14))
- extern cms_entries_res * cms_enumerate_sequence_5();
- extern cms_entries_res * cms_enumerate_sequence_5_svc();
- #define CMS_GET_ENTRY_ATTR ((unsigned long)(15))
- extern cms_get_entry_attr_res * cms_get_entry_attr_5();
- extern cms_get_entry_attr_res * cms_get_entry_attr_5_svc();
- #define CMS_INSERT_ENTRY ((unsigned long)(16))
- extern cms_entry_res * cms_insert_entry_5();
- extern cms_entry_res * cms_insert_entry_5_svc();
- #define CMS_UPDATE_ENTRY ((unsigned long)(17))
- extern cms_entry_res * cms_update_entry_5();
- extern cms_entry_res * cms_update_entry_5_svc();
- #define CMS_DELETE_ENTRY ((unsigned long)(18))
- extern CSA_return_code * cms_delete_entry_5();
- extern CSA_return_code * cms_delete_entry_5_svc();
- extern int tableprog_5_freeresult();
- #endif /* K&R C */
- /* the xdr functions */
- #if defined(__STDC__) || defined(__cplusplus)
- extern bool_t xdr_cms_name(XDR *, cms_name*);
- extern bool_t xdr_buffer(XDR *, buffer*);
- extern bool_t xdr_cms_access_entry(XDR *, cms_access_entry*);
- extern bool_t xdr_cms_key(XDR *, cms_key*);
- extern bool_t xdr_cms_attr_name(XDR *, cms_attr_name*);
- extern bool_t xdr_cms_attribute(XDR *, cms_attribute*);
- extern bool_t xdr_cms_entry(XDR *, cms_entry*);
- extern bool_t xdr_cms_enumerate_calendar_attr_res(XDR *, cms_enumerate_calendar_attr_res*);
- extern bool_t xdr_cms_list_calendars_res(XDR *, cms_list_calendars_res*);
- extern bool_t xdr_cms_open_args(XDR *, cms_open_args*);
- extern bool_t xdr_cms_open_res(XDR *, cms_open_res*);
- extern bool_t xdr_cms_create_args(XDR *, cms_create_args*);
- extern bool_t xdr_cms_remove_args(XDR *, cms_remove_args*);
- extern bool_t xdr_cms_register_args(XDR *, cms_register_args*);
- extern bool_t xdr_cms_get_cal_attr_res(XDR *, cms_get_cal_attr_res*);
- extern bool_t xdr_cms_get_cal_attr_args(XDR *, cms_get_cal_attr_args*);
- extern bool_t xdr_cms_set_cal_attr_args(XDR *, cms_set_cal_attr_args*);
- extern bool_t xdr_cms_archive_res(XDR *, cms_archive_res*);
- extern bool_t xdr_cms_archive_args(XDR *, cms_archive_args*);
- extern bool_t xdr_cms_restore_args(XDR *, cms_restore_args*);
- extern bool_t xdr_cms_reminder_ref(XDR *, cms_reminder_ref*);
- extern bool_t xdr_cms_reminder_res(XDR *, cms_reminder_res*);
- extern bool_t xdr_cms_reminder_args(XDR *, cms_reminder_args*);
- extern bool_t xdr_cms_entries_res(XDR *, cms_entries_res*);
- extern bool_t xdr_cms_lookup_entries_args(XDR *, cms_lookup_entries_args*);
- extern bool_t xdr_cms_enumerate_args(XDR *, cms_enumerate_args*);
- extern bool_t xdr_cms_get_entry_attr_res_item(XDR *, cms_get_entry_attr_res_item*);
- extern bool_t xdr_cms_get_entry_attr_res(XDR *, cms_get_entry_attr_res*);
- extern bool_t xdr_cms_get_entry_attr_args(XDR *, cms_get_entry_attr_args*);
- extern bool_t xdr_cms_entry_res(XDR *, cms_entry_res*);
- extern bool_t xdr_cms_insert_args(XDR *, cms_insert_args*);
- extern bool_t xdr_cms_update_args(XDR *, cms_update_args*);
- extern bool_t xdr_cms_delete_args(XDR *, cms_delete_args*);
- #else /* K&R C */
- extern bool_t xdr_cms_name();
- extern bool_t xdr_buffer();
- extern bool_t xdr_cms_access_entry();
- extern bool_t xdr_cms_key();
- extern bool_t xdr_cms_attr_name();
- extern bool_t xdr_cms_attribute();
- extern bool_t xdr_cms_entry();
- extern bool_t xdr_cms_enumerate_calendar_attr_res();
- extern bool_t xdr_cms_list_calendars_res();
- extern bool_t xdr_cms_open_args();
- extern bool_t xdr_cms_open_res();
- extern bool_t xdr_cms_create_args();
- extern bool_t xdr_cms_remove_args();
- extern bool_t xdr_cms_register_args();
- extern bool_t xdr_cms_get_cal_attr_res();
- extern bool_t xdr_cms_get_cal_attr_args();
- extern bool_t xdr_cms_set_cal_attr_args();
- extern bool_t xdr_cms_archive_res();
- extern bool_t xdr_cms_archive_args();
- extern bool_t xdr_cms_restore_args();
- extern bool_t xdr_cms_reminder_ref();
- extern bool_t xdr_cms_reminder_res();
- extern bool_t xdr_cms_reminder_args();
- extern bool_t xdr_cms_entries_res();
- extern bool_t xdr_cms_lookup_entries_args();
- extern bool_t xdr_cms_enumerate_args();
- extern bool_t xdr_cms_get_entry_attr_res_item();
- extern bool_t xdr_cms_get_entry_attr_res();
- extern bool_t xdr_cms_get_entry_attr_args();
- extern bool_t xdr_cms_entry_res();
- extern bool_t xdr_cms_insert_args();
- extern bool_t xdr_cms_update_args();
- extern bool_t xdr_cms_delete_args();
- #endif /* K&R C */
- #ifdef __cplusplus
- }
- #endif
- #endif
|