Fix typo in license headers
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / DtGetMessageP.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $TOG: DtGetMessageP.h /main/5 1998/07/30 12:14:37 mgreess $
24  *
25  * (c) Copyright 1995 Digital Equipment Corporation.
26  * (c) Copyright 1995 Hewlett-Packard Company.
27  * (c) Copyright 1995 International Business Machines Corp.
28  * (c) Copyright 1995 Sun Microsystems, Inc.
29  * (c) Copyright 1995 Novell, Inc. 
30  * (c) Copyright 1995 FUJITSU LIMITED.
31  * (c) Copyright 1995 Hitachi.
32  *
33  * DtGetMessage.h - Interfaces for the DtSvc library's private message 
34  *    catalog APIs
35  */
36
37 #ifndef _DtGetMessage_h
38 #define _DtGetMessage_h
39
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43
44 /*
45  * External declarations
46  */
47 extern char *Dt11GetMessage (
48         char            *filename,
49         int             set,
50         int             number,
51         char            *string);
52
53 /*
54  * Dt11GETMESSAGE macro
55  */
56 #ifndef NO_MESSAGE_CATALOG
57 # define _MESSAGE_CAT_NAME       "dt"
58 # define Dt11GETMESSAGE(set, number, string)\
59         Dt11GetMessage(_MESSAGE_CAT_NAME, set, number, string)
60 #else
61 # define Dt11GETMESSAGE(set, number, string)\
62         string
63 #endif
64
65 #ifdef __cplusplus
66 }
67 #endif
68
69 #endif /* _DtGetMessage_h */