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: table.h /main/1 1996/04/21 19:24:49 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>
39 #include "connection.h"
42 * Interface to rpc calls of version 2-4
45 extern CSA_return_code _DtCm_table_create P((Calendar *cal));
47 extern CSA_return_code _DtCm_table_get_access P((
49 cms_access_entry **acclist));
51 extern CSA_return_code _DtCm_table_set_access P((
53 CSA_access_list alist));
55 extern CSA_return_code _DtCm_table_lookup_reminder P((
58 char **reminder_names,
60 CSA_reminder_reference **rems));
62 extern CSA_return_code _DtCm_table_lookup_range P((
66 boolean_t no_end_time_range,
73 _DtCm_libentry **appts));
75 extern CSA_return_code _DtCm_table_lookup P((
77 _DtCm_libentry *entry));
80 * This routine looks up events of a repeating sequence.
81 * The caller either specifies entry and elist_r or
83 * If entry is specified, events are converted to cms_entry structures
84 * and returned in elist_r, otherwise; the caller is interested only
85 * in the key of the first entry which will be returned in the cms_key
86 * structure pointed to by key.
88 extern CSA_return_code _DtCm_table_lookup_key_range P((
90 _DtCm_libentry *entry,
95 _DtCm_libentry **elist_r));
97 extern CSA_return_code _DtCm_table_insert P((
100 CSA_attribute * attrs,
101 _DtCm_libentry **entries));
103 extern CSA_return_code _DtCm_table_delete P((
105 _DtCm_libentry *entry,
108 extern CSA_return_code _DtCm_table_update P((
110 _DtCm_libentry *oentry,
112 CSA_attribute * attrs,
114 _DtCm_libentry **nentry));
116 extern CSA_return_code _DtCm_table_size P((
120 extern CSA_return_code _DtCm_table_unregister_target P((
121 _DtCm_Connection *conn,
124 extern CSA_return_code _DtCm_table_register_target P((
125 _DtCm_Connection *conn,