1c9e2be55Smrg/* $XConsortium: msg.h,v 2.7 89/07/20 21:12:59 converse Exp $ */ 2c9e2be55Smrg/* 3c9e2be55Smrg * COPYRIGHT 1987 4c9e2be55Smrg * DIGITAL EQUIPMENT CORPORATION 5c9e2be55Smrg * MAYNARD, MASSACHUSETTS 6c9e2be55Smrg * ALL RIGHTS RESERVED. 7c9e2be55Smrg * 8c9e2be55Smrg * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND 9c9e2be55Smrg * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION. 10c9e2be55Smrg * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR 11c9e2be55Smrg * ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. 12c9e2be55Smrg * 13c9e2be55Smrg * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS, 14c9e2be55Smrg * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT 15c9e2be55Smrg * SET FORTH ABOVE. 16c9e2be55Smrg * 17c9e2be55Smrg * 18c9e2be55Smrg * Permission to use, copy, modify, and distribute this software and its 19c9e2be55Smrg * documentation for any purpose and without fee is hereby granted, provided 20c9e2be55Smrg * that the above copyright notice appear in all copies and that both that 21c9e2be55Smrg * copyright notice and this permission notice appear in supporting documentation, 22c9e2be55Smrg * and that the name of Digital Equipment Corporation not be used in advertising 23c9e2be55Smrg * or publicity pertaining to distribution of the software without specific, 24c9e2be55Smrg * written prior permission. 25c9e2be55Smrg */ 26c9e2be55Smrg/* $XFree86$ */ 27c9e2be55Smrg 28c9e2be55Smrg#ifndef _msg_h 29c9e2be55Smrg#define _msg_h 30c9e2be55Smrg 31c9e2be55Smrgextern char *MsgFileName(Msg); 32c9e2be55Smrgextern int MsgSaveChanges(Msg); 33c9e2be55Smrgextern int MsgSetScrn(Msg, Scrn, XtCallbackList, XtCallbackList); 34c9e2be55Smrgextern void MsgSetScrnForComp(Msg, Scrn); 35c9e2be55Smrgextern void MsgSetScrnForce(Msg, Scrn); 36c9e2be55Smrgextern void MsgSetFate(Msg, FateType, Toc); 37c9e2be55Smrgextern FateType MsgGetFate(Msg, Toc *); 38c9e2be55Smrgextern void MsgSetTemporary(Msg); 39c9e2be55Smrgextern void MsgSetPermanent(Msg); 40c9e2be55Smrgextern int MsgGetId(Msg); 41c9e2be55Smrgextern char *MsgGetScanLine(Msg); 42c9e2be55Smrgextern Toc MsgGetToc(Msg); 43c9e2be55Smrgextern void MsgSetReapable(Msg); 44c9e2be55Smrgextern void MsgClearReapable(Msg); 45c9e2be55Smrgextern int MsgGetReapable(Msg); 46c9e2be55Smrgextern void MsgSetEditable(Msg); 47c9e2be55Smrgextern void MsgClearEditable(Msg); 48c9e2be55Smrgextern int MsgGetEditable(Msg); 49c9e2be55Smrgextern int MsgChanged(Msg); 50c9e2be55Smrgextern void MsgSetCallOnChange(Msg, void (*)(XMH_CB_ARGS), XtPointer); 51c9e2be55Smrgextern void MsgSend(Msg); 52c9e2be55Smrgextern void MsgLoadComposition(Msg); 53c9e2be55Smrgextern void MsgLoadReply(Msg, Msg, String *, Cardinal); 54c9e2be55Smrgextern void MsgLoadForward(Scrn, Msg, MsgList, String *, Cardinal); 55c9e2be55Smrgextern void MsgLoadCopy(Msg, Msg); 56c9e2be55Smrgextern void MsgCheckPoint(Msg); 57c9e2be55Smrgextern void MsgFree(Msg); 58c9e2be55Smrg 59c9e2be55Smrg#endif /* _msg_h */ 60