Back to index

texmacs  1.0.7.15
connect.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : connect.hpp
00004 * DESCRIPTION: Connection of extern packages to TeXmacs
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef CONNECT_H
00013 #define CONNECT_H
00014 #include "tm_link.hpp"
00015 
00016 bool   connection_declared (string name);
00017 tree   connection_info (string name, string session);
00018 tree   connection_handlers (string name);
00019 string connection_start (string name, string session, bool again= false);
00020 void   connection_write (string name, string session, string s);
00021 void   connection_write (string name, string session, tree t);
00022 tree   connection_read (string name, string session, string channel= "output");
00023 void   connection_interrupt (string name, string session);
00024 void   connection_stop (string name, string session);
00025 void   connection_stop_all ();
00026 int    connection_status (string name, string session);
00027 tree   connection_eval (string name, string session, string s);
00028 tree   connection_eval (string name, string session, tree t);
00029 tree   connection_cmd (string name, string session, string s);
00030 
00031 #endif // defined CONNECT_H