9b9c8724fea93998e4d684eb2c0c2bbf0909e190
[oweals/cde.git] / cde / programs / dtpdmd / nlmsg.h
1 /* $XConsortium: nlmsg.h /main/1 1996/10/30 19:10:36 cde-hp $ */
2 /*
3  * dtpdmd/nlmsg.h
4  */
5 /*
6  * (c) Copyright 1996 Digital Equipment Corporation.
7  * (c) Copyright 1996 Hewlett-Packard Company.
8  * (c) Copyright 1996 International Business Machines Corp.
9  * (c) Copyright 1996 Sun Microsystems, Inc.
10  * (c) Copyright 1996 Novell, Inc. 
11  * (c) Copyright 1996 FUJITSU LIMITED.
12  * (c) Copyright 1996 Hitachi.
13  */
14 #ifndef _PdmdMsgs_h
15 #define _PdmdMsgs_h
16
17 #ifdef I18N_MSG
18 #include <nl_types.h>
19 #define DTPDMD_GETMESSAGE(set, number, string) \
20     DtPdmdGetMessage(set, number, string)
21
22 #else /* I18N_MSG */
23 #define DTPDMD_GETMESSAGE(set, number, string) (string)
24 #endif /* I18N_MSG */
25
26 /*** const causes the HP compiler to complain.  Remove reference until   ***
27  *** the build and integration people can figure out how to get this to  ***
28  *** work.                                                               ***/
29
30 /* #define CONST        const */
31 #define CONST
32
33 #define PDMD_MSG_1 DTPDMD_GETMESSAGE(1, 1, DtPdmdMsg_0001)
34 #define PDMD_MSG_2 DTPDMD_GETMESSAGE(1, 2, DtPdmdMsg_0002)
35 #define PDMD_MSG_3 DTPDMD_GETMESSAGE(1, 3, DtPdmdMsg_0003)
36 #define PDMD_MSG_4 DTPDMD_GETMESSAGE(1, 4, DtPdmdMsg_0004)
37 #define PDMD_MSG_5 DTPDMD_GETMESSAGE(1, 5, DtPdmdMsg_0005)
38 #define PDMD_MSG_6 DTPDMD_GETMESSAGE(1, 6, DtPdmdMsg_0006)
39 #define PDMD_MSG_7 DTPDMD_GETMESSAGE(1, 7, DtPdmdMsg_0007)
40 #define PDMD_MSG_8 DTPDMD_GETMESSAGE(1, 8, DtPdmdMsg_0008)
41 #define PDMD_MSG_9 DTPDMD_GETMESSAGE(1, 9, DtPdmdMsg_0009)
42 #define PDMD_MSG_10 DTPDMD_GETMESSAGE(1, 10, DtPdmdMsg_0010)
43 #define PDMD_MSG_11 DTPDMD_GETMESSAGE(1, 11, DtPdmdMsg_0011)
44 #define PDMD_MSG_12 DTPDMD_GETMESSAGE(1, 12, DtPdmdMsg_0012)
45 #define PDMD_MSG_13 DTPDMD_GETMESSAGE(1, 13, DtPdmdMsg_0013)
46 #define PDMD_MSG_14 DTPDMD_GETMESSAGE(1, 14, DtPdmdMsg_0014)
47 #define PDMD_MSG_15 DTPDMD_GETMESSAGE(1, 15, DtPdmdMsg_0015)
48 #define PDMD_MSG_16 DTPDMD_GETMESSAGE(1, 16, DtPdmdMsg_0016)
49
50 extern CONST char DtPdmdMsg_0001[];
51 extern CONST char DtPdmdMsg_0002[];
52 extern CONST char DtPdmdMsg_0003[];
53 extern CONST char DtPdmdMsg_0004[];
54 extern CONST char DtPdmdMsg_0005[];
55 extern CONST char DtPdmdMsg_0006[];
56 extern CONST char DtPdmdMsg_0007[];
57 extern CONST char DtPdmdMsg_0008[];
58 extern CONST char DtPdmdMsg_0009[];
59 extern CONST char DtPdmdMsg_0010[];
60 extern CONST char DtPdmdMsg_0011[];
61 extern CONST char DtPdmdMsg_0012[];
62 extern CONST char DtPdmdMsg_0013[];
63 extern CONST char DtPdmdMsg_0014[];
64 extern CONST char DtPdmdMsg_0015[];
65 extern CONST char DtPdmdMsg_0016[];
66
67 #ifdef I18N_MSG
68
69 /* Message IDs */
70
71 extern const char * DtPdmGetMessage(
72                                     int set,
73                                     int n,
74                                     const char * s);
75
76 #endif /* I18N_MSG */
77
78 #endif /* _PdmdMsgs_h */