2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: rpccalls.h /main/1 1996/04/21 19:24:24 drk $ */
25 * (c) Copyright 1993, 1994 Hewlett-Packard Company
26 * (c) Copyright 1993, 1994 International Business Machines Corp.
27 * (c) Copyright 1993, 1994 Novell, Inc.
28 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
34 #include <EUSCompat.h>
40 * interface to cm rpc calls
43 extern CSA_return_code _DtCm_rpc_open_calendar P((Calendar *cal));
45 extern CSA_return_code _DtCm_rpc_create_calendar P((
48 CSA_attribute * attrs));
50 extern CSA_return_code _DtCm_rpc_delete_calendar P((Calendar *cal));
52 extern CSA_return_code _DtCm_rpc_register_client P((
56 extern CSA_return_code _DtCm_rpc_unregister_client P((
60 extern CSA_return_code _DtCm_rpc_enumerate_sequence P((
62 _DtCm_libentry *entry,
65 _DtCm_libentry **elist_r));
67 extern CSA_return_code _DtCm_rpc_lookup_entries P((
70 CSA_attribute * attrs,
72 _DtCm_libentry **entries_r));
74 extern CSA_return_code _DtCm_rpc_lookup_entry_by_id P((
76 _DtCm_libentry *entry));
78 extern CSA_return_code _DtCm_rpc_lookup_reminder P((
82 char **reminder_names,
84 CSA_reminder_reference **rems));
86 extern CSA_return_code _DtCm_rpc_set_cal_attrs P((
89 CSA_attribute * attrs));
91 extern CSA_return_code _DtCm_rpc_get_cal_attrs P((
97 extern CSA_return_code _DtCm_rpc_insert_entry P((
100 CSA_attribute * attrs,
101 _DtCm_libentry **entry_r));
103 extern CSA_return_code _DtCm_rpc_delete_entry P((
105 _DtCm_libentry *entry,
108 extern CSA_return_code _DtCm_rpc_update_entry P((
110 _DtCm_libentry *oentry,
111 CSA_uint32 num_attrs,
112 CSA_attribute * attrs,
114 _DtCm_libentry **nentry));
116 extern CSA_return_code _DtCm_rpc_list_calendar_attributes P((
118 CSA_uint32 *number_names,
121 extern CSA_return_code _DtCm_rpc_list_calendars P((
123 CSA_uint32 *number_names,
124 CSA_calendar_user **names_r));
126 extern CSA_return_code _DtCm_do_unregistration P((
127 _DtCm_Connection *conn,
129 unsigned long update_type));
131 extern CSA_return_code _DtCm_do_registration P((
132 _DtCm_Connection *conn,
134 unsigned long update_type));