123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- /*
- * 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: rpccalls.h /main/1 1996/04/21 19:24:24 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.
- */
- /*
- * interface to cm rpc calls
- */
- extern CSA_return_code _DtCm_rpc_open_calendar(Calendar *cal);
- extern CSA_return_code _DtCm_rpc_create_calendar(
- Calendar *cal,
- CSA_uint32 num_attrs,
- CSA_attribute * attrs);
- extern CSA_return_code _DtCm_rpc_delete_calendar(Calendar *cal);
- extern CSA_return_code _DtCm_rpc_register_client(
- Calendar *cal,
- unsigned long type);
- extern CSA_return_code _DtCm_rpc_unregister_client(
- Calendar *cal,
- unsigned long type);
- extern CSA_return_code _DtCm_rpc_enumerate_sequence(
- Calendar *cal,
- _DtCm_libentry *entry,
- time_t start,
- time_t end,
- _DtCm_libentry **elist_r);
- extern CSA_return_code _DtCm_rpc_lookup_entries(
- Calendar *cal,
- CSA_uint32 size,
- CSA_attribute * attrs,
- CSA_enum *ops,
- _DtCm_libentry **entries_r);
- extern CSA_return_code _DtCm_rpc_lookup_entry_by_id(
- Calendar *cal,
- _DtCm_libentry *entry);
- extern CSA_return_code _DtCm_rpc_lookup_reminder(
- Calendar *cal,
- time_t tick,
- CSA_uint32 num_names,
- char **reminder_names,
- CSA_uint32 *num_rems,
- CSA_reminder_reference **rems);
- extern CSA_return_code _DtCm_rpc_set_cal_attrs(
- Calendar *cal,
- CSA_uint32 num_attrs,
- CSA_attribute * attrs);
- extern CSA_return_code _DtCm_rpc_get_cal_attrs(
- Calendar *cal,
- int index,
- CSA_uint32 num_attrs,
- char **names);
- extern CSA_return_code _DtCm_rpc_insert_entry(
- Calendar *cal,
- CSA_uint32 num_attrs,
- CSA_attribute * attrs,
- _DtCm_libentry **entry_r);
- extern CSA_return_code _DtCm_rpc_delete_entry(
- Calendar *cal,
- _DtCm_libentry *entry,
- CSA_enum scope);
- extern CSA_return_code _DtCm_rpc_update_entry(
- Calendar *cal,
- _DtCm_libentry *oentry,
- CSA_uint32 num_attrs,
- CSA_attribute * attrs,
- CSA_enum scope,
- _DtCm_libentry **nentry);
- extern CSA_return_code _DtCm_rpc_list_calendar_attributes(
- Calendar *cal,
- CSA_uint32 *number_names,
- char ***names_r);
- extern CSA_return_code _DtCm_rpc_list_calendars(
- char *location,
- CSA_uint32 *number_names,
- CSA_calendar_user **names_r);
- extern CSA_return_code _DtCm_do_unregistration(
- _DtCm_Connection *conn,
- char *cal,
- unsigned long update_type);
- extern CSA_return_code _DtCm_do_registration(
- _DtCm_Connection *conn,
- char *cal,
- unsigned long update_type);
|