Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / Info.h
1 /* $XConsortium: Info.h /main/2 1996/03/26 15:05:44 barstow $
2  *
3  * (c) Copyright 1996 Digital Equipment Corporation.
4  * (c) Copyright 1996 Hewlett-Packard Company.
5  * (c) Copyright 1996 International Business Machines Corp.
6  * (c) Copyright 1996 Sun Microsystems, Inc.
7  * (c) Copyright 1996 Novell, Inc. 
8  * (c) Copyright 1996 FUJITSU LIMITED.
9  * (c) Copyright 1996 Hitachi.
10  *
11  */
12
13 #ifndef _dt_info_h_
14 #define _dt_info_h_
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 typedef enum {
21         DtINFO_SHOW_OK,
22         DtINFO_SHOW_BAD_LOCATOR,        /* the locator argument is NULL */
23         DtINFO_SHOW_TT_OPEN_FAIL,       /* tt_open() failed */
24         DtINFO_SHOW_MSG_CREATE_FAIL,    /* tt_message_create() failed */
25         DtINFO_SHOW_MSG_SEND_FAIL       /* tt_message_send() failed */
26 } DtInfoShowStatus;
27
28 extern DtInfoShowStatus DtInfoShowTopic (
29         const char      * info_lib,     /* The InfoLib to browse */
30         const char      * locator);     /* The locator in Generalized Locator 
31                                            Format */
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif /* _dt_info_h_ */