Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 509eb552 authored by deuce's avatar deuce

Add support for three new line1 types in door.sys:

COM0:STDIO <- Indicates that stdio should be used.
COM0:SOCKET### <- Indicates socket I/O should be used with socket handle ###
COM0:HANDLE### <- Indicates Win32 COM should be used with COM handle ###
parent e73d1030
......@@ -821,6 +821,22 @@ read_dorinfox:
od_control.port=szIFTemp[3]-'1';
/* Check for COM0:STDIO */
if(!strncmp(szIFTemp,"COM0:STDIO",10))
od_control.od_com_method=COM_STDIO;
/* Check for COM0:SOCKET### */
if(!strncmp(szIFTemp,"COM0:SOCKET",11)) {
od_control.od_com_method=COM_SOCKET;
od_control.od_open_handle=atoi(szIFTemp+11);
}
/* Check for COM0:HANDLE### */
if(!strncmp(szIFTemp,"COM0:HANDLE",11)) {
od_control.od_com_method=COM_WIN32;
od_control.od_open_handle=atoi(szIFTemp+11);
}
/* Read line 2. */
if(fgets((char *)apszDropFileInfo[0], 80, pfDropFile) == NULL)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment