2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: messageParam.h /main/3 1995/11/01 10:38:54 rswiston $ */
24 /**********************************<+>*************************************
25 ***************************************************************************
27 ** File: messageParam.h
29 ** Project: DT dtpad, a memo maker type editor based on the motif
32 ** Description: Contains the codes used in communication between the
33 ** "client" and "server" dtpad. These are used in place
34 ** of strings to reduce the computational overhead of
35 ** parsing the parameters on the receiving (server) end.
37 *******************************************************************
38 ** (c) Copyright Hewlett-Packard Company, 1992. All rights are
39 ** reserved. Copying or other reproduction of this program
40 ** except for archival purposes is prohibited without prior
41 ** written consent of Hewlett-Packard Company.
42 ********************************************************************
44 ********************************************************************
45 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
46 ** (c) Copyright 1993, 1994 International Business Machines Corp.
47 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
48 ** (c) Copyright 1993, 1994 Novell, Inc.
49 ********************************************************************
52 **************************************************************************
53 **********************************<+>*************************************/
57 * The codes are consecutive byte values to give the compiler the best
58 * shot at optimizing the resulting "switch" statement.
61 #define NETFILE (char)'?'
63 /* non Text Editor specific options */
64 #define GEOMETRY (char)'A'
67 #define STATUSLINE (char)'B'
68 #define WINDOWWORDWRAP (char)'C'
69 #define OVERSTRIKE (char)'D'
70 #define SAVEONCLOSE (char)'E'
71 #define MISSINGFILEWARNING (char)'F'
72 #define NOREADONLYWARNING (char)'G'
73 #define NONAMECHANGE (char)'H'
74 #define VIEWONLY (char)'I'
75 #define WORKSPACELIST (char)'J'
76 #define SESSION (char)'K'
78 /* client/server control options */
79 #define BLOCKING (char)'L'
81 /* field nos. for DTPAD_OPEN_FILE_MSG and DTPAD_RUN_SESSION_MSG fields
82 * (DT_MSG_DATA_? are defined in lib1/DtSvc/DtUtil2/Message.h) */
83 #define FILENAME_MSG_FIELD DT_MSG_DATA_1
84 #define NETFILE_ID_MSG_FIELD DT_MSG_DATA_3
85 #define PROCESS_ID_MSG_FIELD DT_MSG_DATA_5
87 /* field nos. for DTPAD_DONE message fields */
88 #define CHANNEL_MSG_FIELD DT_MSG_DATA_1
89 #define RETURN_STATUS_MSG_FIELD DT_MSG_DATA_2