/* ** The cvsgui protocol used by WinCvs ** ** This library is free software; you can redistribute it and/or ** modify it under the terms of the GNU Lesser General Public ** License as published by the Free Software Foundation; either ** version 2.1 of the License, or (at your option) any later version. ** ** This library is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** Lesser General Public License for more details. ** ** You should have received a copy of the GNU Lesser General Public ** License along with this library; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /*! \file cvsgui.h \brief Glue code header for communicating with CVS over pipes Glue code signatures and defines to intercept some low level I/O calls and tunnel them inside the communication pipes \author Alexandre Parenteau --- November 1999 \note To be used by CVS client */ #ifndef CVSGUI_H #define CVSGUI_H #include #ifdef HAVE_UNISTD_H # include #endif #ifdef WIN32 # include // exit #endif //#ifdef __MACH__ //# include //#endif /* __MACH__ */ #ifdef __cplusplus extern "C" { #endif extern char* cvsguiglue_getenv(const char* env); extern int cvsguiglue_init(const char *arg1, const char *arg2); extern void cvsguiglue_close(int code); extern void cvsguiglue_flushconsole(int closeit); #ifdef __cplusplus } #endif #endif /* CVSGUI_H */