PageRenderTime 57ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/TeXmacs-1.0.7.11-src/src/System/Link/connect.hpp

#
C++ Header | 31 lines | 18 code | 4 blank | 9 comment | 0 complexity | 29a82d71669149c5f1d0f8880cdfbbd8 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, MPL-2.0-no-copyleft-exception
  1. /******************************************************************************
  2. * MODULE : connect.hpp
  3. * DESCRIPTION: Connection of extern packages to TeXmacs
  4. * COPYRIGHT : (C) 1999 Joris van der Hoeven
  5. *******************************************************************************
  6. * This software falls under the GNU general public license version 3 or later.
  7. * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
  8. * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
  9. ******************************************************************************/
  10. #ifndef CONNECT_H
  11. #define CONNECT_H
  12. #include "tm_link.hpp"
  13. bool connection_declared (string name);
  14. tree connection_info (string name, string session);
  15. tree connection_handlers (string name);
  16. string connection_start (string name, string session, bool again= false);
  17. void connection_write (string name, string session, string s);
  18. void connection_write (string name, string session, tree t);
  19. tree connection_read (string name, string session, string channel= "output");
  20. void connection_interrupt (string name, string session);
  21. void connection_stop (string name, string session);
  22. void connection_stop_all ();
  23. int connection_status (string name, string session);
  24. tree connection_eval (string name, string session, string s);
  25. tree connection_eval (string name, string session, tree t);
  26. tree connection_cmd (string name, string session, string s);
  27. #endif // defined CONNECT_H