dtcm/server/: just return NULL, not the address of a dummy local variable. Geez.
[oweals/cde.git] / cde / programs / dtcm / server / cmsconvert.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
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
22  */
23 /* $XConsortium: cmsconvert.h /main/4 1995/11/09 12:41:30 rswiston $ */
24 /*
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.
29  */
30
31 #ifndef _CMSCONVERT_H
32 #define _CMSCONVERT_H
33
34 #include <EUSCompat.h>
35 #include "ansi_c.h"
36 #include "cm.h"
37 #include "rtable4.h"
38 #include "v4ops.h"
39
40 extern CSA_return_code _DtCmsCmsentriesToAppt4ForClient P((
41                         cms_entry       *entries,
42                         Appt_4          **appt));
43
44 extern CSA_return_code _DtCmsCmsentriesToAbbrAppt4ForClient P((
45                         cms_entry       *entries,
46                         Abb_Appt_4      **abbr));
47
48 extern CSA_return_code _DtCmsCmsentryToAbbrAppt4 P((
49                         cms_entry       *entry,
50                         Abb_Appt_4      **abbr));
51
52 extern Access_Entry_4 *_DtCmsConvertV5AccessList P((
53                         cms_access_entry        *cmslist,
54                         boolean_t               strictmode));
55
56 extern cms_access_entry *_DtCmsConvertV4AccessList P((
57                         Access_Entry_4 *alist));
58
59 extern CSA_return_code _DtCmsReminderRefToReminder P((
60                         cms_reminder_ref        *rems,
61                         Reminder_4              **r4));
62
63 extern CSA_return_code _DtCmsV4ReminderToReminderRef P((
64                         char                    *calname,
65                         Reminder_4              *r4,
66                         _DtCmsEntryId           *ids,
67                         cms_reminder_ref        **rems));
68
69 extern CSA_return_code _DtCmsCmsAccessToV4Access P((
70                                 cms_access_entry *alist,
71                                 Access_Entry_4 **a4));
72
73 extern CSA_return_code _DtCmsAppt4ToCmsentriesForClient P((
74                         char            *calname,
75                         Appt_4          *appt,
76                         cms_entry       **e_r));
77
78 extern CSA_return_code _DtCmsAppt4ToCmsentry P((
79                         char            *calname,
80                         Appt_4          *a4,
81                         cms_entry       **entry_r,
82                         boolean_t       rerule));
83
84 extern CSA_return_code _DtCmsAttrsToAppt4 P((
85                         uint            size,
86                         cms_attribute   *attrs,
87                         Appt_4          *appt,
88                         boolean_t       check));
89
90 #endif