2 * $Id: save.h,v 1.13 2006/03/26 20:00:25 sfeam Exp $
8 * Copyright 1999, 2004 Thomas Williams, Colin Kelley
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.
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,
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
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.
33 * This software is provided "as is" without express or implied warranty
34 * to the extent permitted by applicable law.
37 #ifndef GNUPLOT_SAVE_H
38 # define GNUPLOT_SAVE_H
40 /* #if... / #include / #define collection: */
47 /* Type definitions */
49 /* Variables of save.c needed by other modules: */
51 /* Prototypes of functions exported by save.c */
52 void save_functions __PROTO((FILE *fp));
53 void save_variables __PROTO((FILE *fp));
54 void save_set __PROTO((FILE *fp));
55 void save_term __PROTO((FILE *fp));
56 void save_all __PROTO((FILE *fp));
57 void save_range __PROTO((FILE *, AXIS_INDEX));
58 void save_textcolor __PROTO((FILE *, const struct t_colorspec *));
59 void save_pm3dcolor __PROTO((FILE *, const struct t_colorspec *));
60 void save_fillstyle __PROTO((FILE *, const struct fill_style_type *));
62 void save_rectangle __PROTO((FILE *, int));
64 void save_data_func_style __PROTO((FILE *, const char *, enum PLOT_STYLE));
65 void save_linetype __PROTO((FILE *, lp_style_type *, TBOOLEAN));
67 #endif /* GNUPLOT_SAVE_H */