Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

77
cde/lib/csa/convert5-4.h Normal file
View File

@@ -0,0 +1,77 @@
/* $XConsortium: convert5-4.h /main/1 1996/04/21 19:22:58 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.
*/
#ifndef _CONVERT5_4_H
#define _CONVERT5_4_H
#include <EUSCompat.h>
#include "ansi_c.h"
#include "cm.h"
#include "rtable4.h"
/*
* conversion routines for rpc.cmsd version 5 to rpc.cmsd version 4 data types
*/
extern CSA_return_code _DtCm_cmsattrs_to_apptdata P((
uint num_attrs,
cms_attribute *attrs,
Appt_4 *appt4));
extern CSA_return_code _DtCm_attrs_to_apptdata P((
uint size,
CSA_attribute *attrs,
Appt_4 *appt));
extern CSA_return_code _DtCm_cms_entry_to_appt4 P((
cms_entry *entry,
Appt_4 **appt4));
extern CSA_return_code _DtCm_attrs_to_appt4 P((
uint num_attrs,
CSA_attribute *attrs,
Appt_4 **appt4_r));
extern CSA_return_code _DtCm_scope_to_options4 P((
CSA_enum scope,
Options_4 *opt));
extern CSA_return_code _DtCm_csaaccesslist_toaccessentry4 P((
CSA_access_list alist,
Access_Entry_4 **a4));
extern int _DtCm_string_to_eventtype4 P((
char *val,
Event_Type_4 *tag));
extern int _DtCm_rtype_to_interval4 P((
int val,
Interval_4 *period));
extern int _DtCm_status_to_apptstatus4 P((
int val,
Appt_Status_4 *astat));
extern int _DtCm_classification_to_privacy4 P((
int val,
Privacy_Level_4 *privacy));
extern CSA_return_code _DtCm_attrs_to_eventtype4 P((
cms_attribute_value *type,
cms_attribute_value *stype,
Tag_4 *tag));
extern CSA_return_code _DtCm_remove_reminder P((char *rem, Appt_4 *appt));
extern CSA_return_code _DtCm_add_reminder P((
char *rem,
CSA_reminder * val,
Appt_4 *appt));
extern int _DtCmAccessRightToV4AccessType P((unsigned int access));
#endif