Blame src/gpexecute.h

Packit 0986c0
/* GNUPLOT - gpexecute.h */
Packit 0986c0
Packit 0986c0
/*[
Packit 0986c0
 * Permission to use, copy, and distribute this software and its
Packit 0986c0
 * documentation for any purpose with or without fee is hereby granted,
Packit 0986c0
 * provided that the above copyright notice appear in all copies and
Packit 0986c0
 * that both that copyright notice and this permission notice appear
Packit 0986c0
 * in supporting documentation.
Packit 0986c0
 *
Packit 0986c0
 * Permission to modify the software is granted, but not the right to
Packit 0986c0
 * distribute the complete modified source code.  Modifications are to
Packit 0986c0
 * be distributed as patches to the released version.  Permission to
Packit 0986c0
 * distribute binaries produced by compiling modified sources is granted,
Packit 0986c0
 * provided you
Packit 0986c0
 *   1. distribute the corresponding source modifications from the
Packit 0986c0
 *    released version in the form of a patch file along with the binaries,
Packit 0986c0
 *   2. add special version identification to distinguish your version
Packit 0986c0
 *    in addition to the base release version number,
Packit 0986c0
 *   3. provide your name and address as the primary contact for the
Packit 0986c0
 *    support of your modified version, and
Packit 0986c0
 *   4. retain our contact information in regard to use of the base
Packit 0986c0
 *    software.
Packit 0986c0
 * Permission to distribute the released version of the source code along
Packit 0986c0
 * with corresponding source modifications in the form of a patch file is
Packit 0986c0
 * granted with same provisions 2 through 4 for binary distributions.
Packit 0986c0
 *
Packit 0986c0
 * This software is provided "as is" without express or implied warranty
Packit 0986c0
 * to the extent permitted by applicable law.
Packit 0986c0
]*/
Packit 0986c0
Packit 0986c0
/*
Packit 0986c0
 * AUTHORS
Packit 0986c0
 *
Packit 0986c0
 *   Original Software (October 1999 - January 2000):
Packit 0986c0
 *     Pieter-Tjerk de Boer <ptdeboer@cs.utwente.nl>
Packit 0986c0
 *     Petr Mikulik <mikulik@physics.muni.cz>
Packit 0986c0
 *     Johannes Zellner <johannes@zellner.org>
Packit 0986c0
 */
Packit 0986c0
Packit 0986c0
#ifndef GPEXECUTE_H
Packit 0986c0
#define GPEXECUTE_H
Packit 0986c0
Packit 0986c0
#include "syscfg.h"
Packit 0986c0
#include "mousecmn.h"
Packit 0986c0
Packit 0986c0
#ifdef OS2_IPC
Packit 0986c0
Packit 0986c0
#define INCL_DOSPROCESS
Packit 0986c0
#define INCL_DOSSEMAPHORES
Packit 0986c0
#include <os2.h>
Packit 0986c0
Packit 0986c0
void gp_execute(char *command);
Packit 0986c0
extern char mouseShareMemName[];
Packit 0986c0
Packit 0986c0
extern PVOID input_from_PM_Terminal;
Packit 0986c0
extern HEV semInputReady;
Packit 0986c0
extern int pausing;
Packit 0986c0
extern ULONG ppidGnu;
Packit 0986c0
Packit 0986c0
/* forward declarations */
Packit 0986c0
void gp_post_shared_mem __PROTO((void));
Packit 0986c0
void gp_execute __PROTO((char *s));
Packit 0986c0
Packit 0986c0
#endif /* OS2_IPC */
Packit 0986c0
Packit 0986c0
#ifdef PIPE_IPC
Packit 0986c0
Packit 0986c0
extern int pipe_died;
Packit 0986c0
RETSIGTYPE pipe_died_handler __PROTO((int signum));
Packit 0986c0
Packit 0986c0
#endif /* PIPE_IPC */
Packit 0986c0
Packit 0986c0
#if defined(PIPE_IPC) || defined(WIN_IPC)
Packit 0986c0
Packit 0986c0
typedef struct gpe_fifo_t {
Packit 0986c0
    struct gpe_fifo_t* prev;
Packit 0986c0
    struct gp_event_t ge;
Packit 0986c0
    struct gpe_fifo_t* next;
Packit 0986c0
} gpe_fifo_t;
Packit 0986c0
extern int buffered_output_pending;
Packit 0986c0
Packit 0986c0
#endif /* PIPE_IPC || WIN_IPC */
Packit 0986c0
Packit 0986c0
Packit 0986c0
void gp_exec_event __PROTO((char type, int mx, int my, int par1, int par2, int winid));
Packit 0986c0
Packit 0986c0
#endif /* GPEXECUTE_H */