Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / server / data.h
1 /* $XConsortium: data.h /main/4 1995/11/09 12:43:12 rswiston $ */
2 /*
3  *  (c) Copyright 1993, 1994 Hewlett-Packard Company
4  *  (c) Copyright 1993, 1994 International Business Machines Corp.
5  *  (c) Copyright 1993, 1994 Novell, Inc.
6  *  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
7  */
8
9 #ifndef _DATA_H
10 #define _DATA_H
11
12 /*
13  * Common definition for internal data storage
14  */
15
16 #include "ansi_c.h"
17
18 typedef enum {
19         rb_ok           = 0,
20         rb_duplicate    = 1,
21         rb_badtable     = 2,
22         rb_notable      = 3,
23         rb_failed       = 4,
24         rb_other        = 5
25 } Rb_Status;
26
27 typedef enum {
28         _DtCmsIsLess,
29         _DtCmsIsEqual,
30         _DtCmsIsGreater
31 } _DtCmsComparisonResult;
32
33 typedef caddr_t (*_DtCmsGetKeyProc) (/* caddr_t data */);
34
35 typedef _DtCmsComparisonResult (*_DtCmsCompareProc)(/* caddr_t key; caddr_t data */);
36
37 typedef boolean_t (*_DtCmsEnumerateProc) (/* caddr_t data */);
38
39 #endif