Back to index

texmacs  1.0.7.15
client_server.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : client_server.hpp
00004 * DESCRIPTION: TeXmacs clients and servers
00005 * COPYRIGHT  : (C) 2007  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 CLIENT_SERVER_H
00013 #define CLIENT_SERVER_H
00014 #include "string.hpp"
00015 
00016 void   server_start ();
00017 void   server_stop ();
00018 string server_read (int fd);
00019 void   server_write (int fd, string s);
00020 
00021 void   client_start (string host);
00022 void   client_stop ();
00023 string client_read ();
00024 void   client_write (string s);
00025 
00026 void   enter_secure_mode ();
00027 
00028 #endif // defined CLIENT_SERVER_H