[Com0com-cvs] hub4com/plugins/tcp port.cpp, 1.4, 1.5 tcp.vcproj, 1.1, 1.2
The virtual serial port driver for Windows.
Brought to you by:
vfrolov
From: Vyacheslav F. <vf...@us...> - 2008-08-28 10:31:30
|
Update of /cvsroot/com0com/hub4com/plugins/tcp In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv23853 Modified Files: port.cpp tcp.vcproj Log Message: Removed linking with ../../utils.h and ../../utils.cpp Index: port.cpp =================================================================== RCS file: /cvsroot/com0com/hub4com/plugins/tcp/port.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** port.cpp 15 Aug 2008 12:44:59 -0000 1.4 --- port.cpp 28 Aug 2008 10:31:25 -0000 1.5 *************** *** 20,23 **** --- 20,26 ---- * * $Log$ + * Revision 1.5 2008/08/28 10:31:25 vfrolov + * Removed linking with ../../utils.h and ../../utils.cpp + * * Revision 1.4 2008/08/15 12:44:59 vfrolov * Added fake read filter method to ports *************** *** 38,44 **** #include "comport.h" #include "import.h" - #include "../../utils.h" /////////////////////////////////////////////////////////////// static PLUGIN_TYPE CALLBACK GetPluginType() { --- 41,56 ---- #include "comport.h" #include "import.h" /////////////////////////////////////////////////////////////// + static const char *GetParam(const char *pArg, const char *pPattern) + { + size_t lenPattern = strlen(pPattern); + + if (_strnicmp(pArg, pPattern, lenPattern) != 0) + return NULL; + + return pArg + lenPattern; + } + /////////////////////////////////////////////////////////////// static PLUGIN_TYPE CALLBACK GetPluginType() { Index: tcp.vcproj =================================================================== RCS file: /cvsroot/com0com/hub4com/plugins/tcp/tcp.vcproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tcp.vcproj 27 Mar 2008 17:19:18 -0000 1.1 --- tcp.vcproj 28 Aug 2008 10:31:25 -0000 1.2 *************** *** 208,215 **** > </File> - <File - RelativePath="..\..\utils.h" - > - </File> </Filter> <Filter --- 208,211 ---- *************** *** 258,265 **** </FileConfiguration> </File> - <File - RelativePath="..\..\utils.cpp" - > - </File> </Filter> </Files> --- 254,257 ---- |