/* * 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: cmsconvert.h /main/4 1995/11/09 12:41:30 rswiston $ */ /* * (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 _CMSCONVERT_H #define _CMSCONVERT_H #include #include "cm.h" #include "rtable4.h" #include "v4ops.h" extern CSA_return_code _DtCmsCmsentriesToAppt4ForClient( cms_entry *entries, Appt_4 **appt); extern CSA_return_code _DtCmsCmsentriesToAbbrAppt4ForClient( cms_entry *entries, Abb_Appt_4 **abbr); extern CSA_return_code _DtCmsCmsentryToAbbrAppt4( cms_entry *entry, Abb_Appt_4 **abbr); extern Access_Entry_4 *_DtCmsConvertV5AccessList( cms_access_entry *cmslist, boolean_t strictmode); extern cms_access_entry *_DtCmsConvertV4AccessList( Access_Entry_4 *alist); extern CSA_return_code _DtCmsReminderRefToReminder( cms_reminder_ref *rems, Reminder_4 **r4); extern CSA_return_code _DtCmsV4ReminderToReminderRef( char *calname, Reminder_4 *r4, _DtCmsEntryId *ids, cms_reminder_ref **rems); extern CSA_return_code _DtCmsCmsAccessToV4Access( cms_access_entry *alist, Access_Entry_4 **a4); extern CSA_return_code _DtCmsAppt4ToCmsentriesForClient( char *calname, Appt_4 *appt, cms_entry **e_r); extern CSA_return_code _DtCmsAppt4ToCmsentry( char *calname, Appt_4 *a4, cms_entry **entry_r, boolean_t rerule); extern CSA_return_code _DtCmsAttrsToAppt4( uint size, cms_attribute *attrs, Appt_4 *appt, boolean_t check); #endif