70 lines
1.9 KiB
C
70 lines
1.9 KiB
C
/*
|
|
* CDE - Common Desktop Environment
|
|
*
|
|
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
|
*
|
|
* These libraries and programs are free software; you can
|
|
* redistribute them and/or modify them under the terms of the GNU
|
|
* Lesser General Public License as published by the Free Software
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
* These libraries and programs are distributed in the hope that
|
|
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
* PURPOSE. See the GNU Lesser General Public License for more
|
|
* details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with these librararies and programs; if not, write
|
|
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
* Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/* $TOG: DtGetMessageP.h /main/5 1998/07/30 12:14:37 mgreess $
|
|
*
|
|
* (c) Copyright 1995 Digital Equipment Corporation.
|
|
* (c) Copyright 1995 Hewlett-Packard Company.
|
|
* (c) Copyright 1995 International Business Machines Corp.
|
|
* (c) Copyright 1995 Sun Microsystems, Inc.
|
|
* (c) Copyright 1995 Novell, Inc.
|
|
* (c) Copyright 1995 FUJITSU LIMITED.
|
|
* (c) Copyright 1995 Hitachi.
|
|
*
|
|
* DtGetMessage.h - Interfaces for the DtSvc library's private message
|
|
* catalog APIs
|
|
*/
|
|
|
|
#ifndef _DtGetMessage_h
|
|
#define _DtGetMessage_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* External declarations
|
|
*/
|
|
extern char *Dt11GetMessage (
|
|
char *filename,
|
|
int set,
|
|
int number,
|
|
char *string);
|
|
|
|
/*
|
|
* Dt11GETMESSAGE macro
|
|
*/
|
|
#ifndef NO_MESSAGE_CATALOG
|
|
# define _MESSAGE_CAT_NAME "dt"
|
|
# define Dt11GETMESSAGE(set, number, string)\
|
|
Dt11GetMessage(_MESSAGE_CAT_NAME, set, number, string)
|
|
#else
|
|
# define Dt11GETMESSAGE(set, number, string)\
|
|
string
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _DtGetMessage_h */
|