source: trunk/third/xmh/externs.h @ 9658

Revision 9658, 6.8 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9657, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * $XConsortium: externs.h,v 2.38 91/07/22 21:29:13 converse Exp $
3 *
4 *
5 *                     COPYRIGHT 1987, 1989
6 *                 DIGITAL EQUIPMENT CORPORATION
7 *                     MAYNARD, MASSACHUSETTS
8 *                      ALL RIGHTS RESERVED.
9 *
10 * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
11 * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
12 * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
13 * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
14 *
15 * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
16 * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
17 * ADDITION TO THAT SET FORTH ABOVE.
18 *
19 *
20 * Permission to use, copy, modify, and distribute this software and its
21 * documentation for any purpose and without fee is hereby granted, provided
22 * that the above copyright notice appear in all copies and that both that
23 * copyright notice and this permission notice appear in supporting
24 * documentation, and that the name of Digital Equipment Corporation not be
25 * used in advertising or publicity pertaining to distribution of the software
26 * without specific, written prior permission.
27 */
28
29#ifndef X_NOT_STDC_ENV
30#include <errno.h>
31#include <stdlib.h>
32#else
33extern int errno;
34extern char *getenv();
35extern void exit();
36extern void free();
37#endif
38
39/* Action routines are declared in actions.h */
40/* Functions which begin with `Do' are the corresponding callbacks. */
41
42        /* from command.c */
43
44extern char *   DoCommandToFile         (/* Widget, XtPointer, XtPointer */);
45extern char *   DoCommandToString       (/* Widget, XtPointer, XtPointer */);
46
47        /* from compfuncs. */
48
49extern void     DoResetCompose          (/* Widget, XtPointer, XtPointer */);
50
51        /* from folder.c */
52
53extern void     DoClose                 (/* Widget, XtPointer, XtPointer */);
54extern void     DoComposeMessage        (/* Widget, XtPointer, XtPointer */);
55extern void     DoOpenFolder            (/* Widget, XtPointer, XtPointer */);
56extern void     DoOpenFolderInNewWindow (/* Widget, XtPointer, XtPointer */);
57extern void     DoCreateFolder          (/* Widget, XtPointer, XtPointer */);
58extern void     DoDeleteFolder          (/* Widget, XtPointer, XtPointer */);
59extern void     Push                    (/* Stack, char* */);
60extern char *   Pop                     (/* Stack */);
61
62        /* from menu.c */
63
64extern void     AttachMenuToButton      (/* Button, Widget, char * */);
65extern void     AddMenuEntry            (/* Widget, char *, ... */);
66extern void     DoRememberMenuSelection (/* Widget, XtPointer, XtPointer */);
67extern void     SendMenuEntryEnableMsg  (/* Button, char *, int */);
68extern void     ToggleMenuItem          (/* Widget, Boolean */);
69
70        /* from msg.c */
71
72extern Widget   CreateFileSource        (/* Widget, String, Boolean */);
73
74        /* from popup.c */
75
76extern void     DestroyPopup    (/* Widget, XtPointer, XtPointer */);
77extern void     WMDeletePopup   (/* Widget, XEvent* */);
78extern void     PopupPrompt     (/* Widget, String, XtCallbackProc */);
79extern void     PopupConfirm    (/* Widget, String, XtCallbackList, ... */);
80extern void     PopupNotice     (/* char *, XtCallbackProc, XtPointer */);
81extern void     PopupError      (/* Widget, String */);
82extern void     PopupWarningHandler();  /* for Xt to call */
83
84        /* from screen.c */
85
86extern void     EnableProperButtons     (/* Scrn */);
87extern Scrn     CreateNewScrn           (/* ScrnKind */);
88extern Scrn     NewViewScrn             (/* void */);
89extern Scrn     NewCompScrn             (/* void */);
90extern void     ScreenSetAssocMsg       (/* Scrn, Msg */);
91extern void     DestroyScrn             (/* Scrn */);
92extern void     MapScrn                 (/* Scrn */);
93extern Scrn     ScrnFromWidget          (/* Widget */);
94
95        /* from tocfuncs.c */
96
97extern Boolean  UserWantsAction         (/* Widget, Scrn */);
98extern void     DoIncorporateNewMail    (/* Widget, XtPointer, XtPointer */);
99extern void     DoCommit                (/* Widget, XtPointer, XtPointer */);
100extern void     DoPack                  (/* Widget, XtPointer, XtPointer */);
101extern void     DoSort                  (/* Widget, XtPointer, XtPointer */);
102extern void     DoForceRescan           (/* Widget, XtPointer, XtPointer */);
103extern void     DoReverseReadOrder      (/* Widget, XtPointer, XtPointer */);
104extern void     DoNextView              (/* Widget, XtPointer, XtPointer */);
105extern void     DoPrevView              (/* Widget, XtPointer, XtPointer */);
106extern void     DoDelete                (/* Widget, XtPointer, XtPointer */);
107extern void     DoMove                  (/* Widget, XtPointer, XtPointer */);
108extern void     DoCopy                  (/* Widget, XtPointer, XtPointer */);
109extern void     DoUnmark                (/* Widget, XtPointer, XtPointer */);
110extern void     DoViewNew               (/* Widget, XtPointer, XtPointer */);
111extern void     DoReply                 (/* Widget, XtPointer, XtPointer */);
112extern void     DoForward               (/* Widget, XtPointer, XtPointer */);
113extern void     DoTocUseAsComp          (/* Widget, XtPointer, XtPointer */);
114extern void     DoPrint                 (/* Widget, XtPointer, XtPointer */);
115extern void     DoPickMessages          (/* Widget, XtPointer, XtPointer */);
116extern void     DoSelectSequence        (/* Widget, XtPointer, XtPointer */);
117extern void     DoOpenSeq               (/* Widget, XtPointer, XtPointer */);
118extern void     DoAddToSeq              (/* Widget, XtPointer, XtPointer */);
119extern void     DoRemoveFromSeq         (/* Widget, XtPointer, XtPointer */);
120extern void     DoDeleteSeq             (/* Widget, XtPointer, XtPointer */);
121
122        /* from util.c */
123
124extern void     Punt                    (/* char * */);
125extern int      myopen                  (/* char *, int, int */);
126extern FILE *   myfopen                 (/* char *, char * */);
127extern int      myclose                 (/* int */);
128extern int      myfclose                (/* FILE * */);
129extern char *   MakeNewTempFileName     (/* void */);
130extern char **  MakeArgv                (/* int */);
131extern char **  ResizeArgv              (/* char **, int */);
132extern FILEPTR  FOpenAndCheck           (/* char *, char * */);
133extern char *   ReadLine                (/* FILE * */);
134extern char *   ReadLineWithCR          (/* FILE * */);
135extern void     DeleteFileAndCheck      (/* char * */);
136extern void     CopyFileAndCheck        (/* char *, char * */);
137extern void     RenameAndCheck          (/* char *, char * */);
138extern char *   CreateGeometry          (/* int, int, int, int, int */);
139extern int      FileExists              (/* char * */);
140extern Boolean  IsSubfolder             (/* char * */);
141extern void     SetCurrentFolderName    (/* Scrn, char * */);
142extern void     ChangeLabel             (/* Widget, char * */);
143extern Widget   CreateTextSW    (/* Scrn, char *, ArgList, Cardinal */);
144extern Widget   CreateTitleBar          (/* Scrn, char * */);
145extern void     Feep                    (/* void */);
146extern MsgList  CurMsgListOrCurMsg      (/* Toc */);
147extern int      GetWidth                (/* Widget */);
148extern int      GetHeight               (/* Widget */);
149extern Toc      SelectedToc             (/* Scrn */);
150extern Toc      CurrentToc              (/* Scrn */);
151extern int      strncmpIgnoringCase();
152extern void     StoreWindowName         (/* Scrn, char * */);
153extern void     InitBusyCursor          (/* Scrn */);
154extern void     ShowBusyCursor          (/* void */);
155extern void     UnshowBusyCursor        (/* void */);
156extern void     SetCursorColor          (/* Widget, Cursor, unsigned long */);
157
158        /* from viewfuncs.c */
159
160extern void     DoCloseView             (/* Widget, XtPointer, XtPointer */);
161extern void     DoViewReply             (/* Widget, XtPointer, XtPointer */);
162extern void     DoViewForward           (/* Widget, XtPointer, XtPointer */);
163extern void     DoViewUseAsComposition  (/* Widget, XtPointer, XtPointer */);
164extern void     DoEditView              (/* Widget, XtPointer, XtPointer */);
165extern void     DoSaveView              (/* Widget, XtPointer, XtPointer */);
166extern void     DoPrintView             (/* Widget, XtPointer, XtPointer */);
Note: See TracBrowser for help on using the repository browser.