093dddc51df2be4f7dd7244d63a6e92efa6e4bb0
[gnuplot] / src / plot.h
1 /*
2  * $Id: plot.h,v 1.43.2.1 2006/11/10 22:49:37 tlecomte Exp $
3  */
4
5 /* GNUPLOT - plot.h */
6
7 /*[
8  * Copyright 1986 - 1993, 1998, 2004   Thomas Williams, Colin Kelley
9  *
10  * Permission to use, copy, and distribute this software and its
11  * documentation for any purpose with or without fee is hereby granted,
12  * provided that the above copyright notice appear in all copies and
13  * that both that copyright notice and this permission notice appear
14  * in supporting documentation.
15  *
16  * Permission to modify the software is granted, but not the right to
17  * distribute the complete modified source code.  Modifications are to
18  * be distributed as patches to the released version.  Permission to
19  * distribute binaries produced by compiling modified sources is granted,
20  * provided you
21  *   1. distribute the corresponding source modifications from the
22  *    released version in the form of a patch file along with the binaries,
23  *   2. add special version identification to distinguish your version
24  *    in addition to the base release version number,
25  *   3. provide your name and address as the primary contact for the
26  *    support of your modified version, and
27  *   4. retain our contact information in regard to use of the base
28  *    software.
29  * Permission to distribute the released version of the source code along
30  * with corresponding source modifications in the form of a patch file is
31  * granted with same provisions 2 through 4 for binary distributions.
32  *
33  * This software is provided "as is" without express or implied warranty
34  * to the extent permitted by applicable law.
35 ]*/
36
37 #ifndef GNUPLOT_PLOT_H
38 # define GNUPLOT_PLOT_H
39
40 /* #if... / #include / #define collection: */
41
42 #include "syscfg.h"
43 #include "gp_types.h"
44
45 #ifdef USE_MOUSE
46 # include "mouse.h"
47 #endif
48
49 /* Type definitions */
50
51 /* Variables of plot.c needed by other modules: */
52
53 extern TBOOLEAN interactive;
54 extern TBOOLEAN persist_cl;
55
56 extern const char *user_shell;
57 #if defined(ATARI) || defined(MTOS)
58 extern const char *user_gnuplotpath;
59 #endif
60
61 #ifdef OS2
62 extern TBOOLEAN CallFromRexx;
63 #endif
64
65 /* Prototypes of functions exported by plot.c */
66
67 void bail_to_command_line __PROTO((void));
68 void interrupt_setup __PROTO((void));
69 void gp_expand_tilde __PROTO((char **));
70 void get_user_env __PROTO((void));
71
72 #ifdef LINUXVGA
73 void drop_privilege __PROTO((void));
74 void take_privilege __PROTO((void));
75 #endif /* LINUXVGA */
76
77 #ifdef OS2
78 int ExecuteMacro __PROTO((char *, int));
79 #endif
80
81 #endif /* GNUPLOT_PLOT_H */