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

97
cde/lib/csa/match.h Normal file
View File

@@ -0,0 +1,97 @@
/* $XConsortium: match.h /main/1 1996/04/21 19:23:51 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 _MATCH_H
#define _MATCH_H
#include <EUSCompat.h>
#include "ansi_c.h"
#include "cm.h"
#include "rtable4.h"
extern CSA_return_code _DtCmHashCriteria P((
_DtCmNameTable *tbl,
CSA_uint32 num_attrs,
CSA_attribute *csaattrs,
cms_attribute *cmsattrs,
CSA_enum *ops,
boolean_t *no_match,
boolean_t *no_start_time_range,
boolean_t *no_end_time_range,
time_t *start1,
time_t *start2,
time_t *end1,
time_t *end2,
long *id,
CSA_uint32 *hnum,
cms_attribute **hattrs,
CSA_enum **hops));
extern void _DtCmFreeHashedArrays P((
CSA_uint32 hnum,
cms_attribute *hattrs,
CSA_enum *hops));
extern Appt_4 *_DtCm_match_appts P((
Appt_4 *appts,
long id,
boolean_t no_end_time_range,
time_t end1,
time_t end2,
CSA_uint32 num_attrs,
cms_attribute *attrs,
CSA_enum *ops));
extern boolean_t _DtCm_match_one_appt(
Appt_4 *appt,
uint num_attrs,
cms_attribute * attrs,
CSA_enum *ops);
extern Reminder_4 *_DtCm_match_reminders P((
Reminder_4 *rems,
uint num_names,
char **names));
extern CSA_return_code _DtCm_check_operator P((
uint size,
CSA_attribute *csaattrs,
cms_attribute *cmsattrs,
CSA_enum *ops));
extern boolean_t _DtCm_match_sint32_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
extern boolean_t _DtCm_match_uint32_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
extern boolean_t _DtCm_match_time_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
extern boolean_t _DtCm_match_time_duration_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
extern boolean_t _DtCm_match_string_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
extern boolean_t _DtCm_match_reminder_attribute P((
cms_attribute_value *val1,
cms_attribute_value *val2,
CSA_enum op));
#endif