Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / DtGetMessageP.h
1 /* $TOG: DtGetMessageP.h /main/5 1998/07/30 12:14:37 mgreess $
2  *
3  * (c) Copyright 1995 Digital Equipment Corporation.
4  * (c) Copyright 1995 Hewlett-Packard Company.
5  * (c) Copyright 1995 International Business Machines Corp.
6  * (c) Copyright 1995 Sun Microsystems, Inc.
7  * (c) Copyright 1995 Novell, Inc. 
8  * (c) Copyright 1995 FUJITSU LIMITED.
9  * (c) Copyright 1995 Hitachi.
10  *
11  * DtGetMessage.h - Interfaces for the DtSvc library's private message 
12  *    catalog APIs
13  */
14
15 #ifndef _DtGetMessage_h
16 #define _DtGetMessage_h
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 /*
23  * External declarations
24  */
25 extern char *Dt11GetMessage (
26         char            *filename,
27         int             set,
28         int             number,
29         char            *string);
30
31 /*
32  * Dt11GETMESSAGE macro
33  */
34 #ifndef NO_MESSAGE_CATALOG
35 # define _MESSAGE_CAT_NAME       "dt"
36 # define Dt11GETMESSAGE(set, number, string)\
37         Dt11GetMessage(_MESSAGE_CAT_NAME, set, number, string)
38 #else
39 # define Dt11GETMESSAGE(set, number, string)\
40         string
41 #endif
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif /* _DtGetMessage_h */