mirror of
https://github.com/debauchee/barrier.git
synced 2025-08-06 10:09:28 +02:00
changed ipc protocol to be more like original synergy protocol (4 byte message codes and better use of protocol util class).
This commit is contained in:
parent
0a7c7f5073
commit
82d91605fa
5 changed files with 78 additions and 82 deletions
23
src/lib/ipc/Ipc.cpp
Normal file
23
src/lib/ipc/Ipc.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* synergy -- mouse and keyboard sharing utility
|
||||
* Copyright (C) 2012 Nick Bolton
|
||||
*
|
||||
* This package is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* found in the file COPYING that should have accompanied this file.
|
||||
*
|
||||
* This package 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Ipc.h"
|
||||
|
||||
const char* kIpcMsgHello = "IHEL%1i";
|
||||
const char* kIpcMsgLogLine = "ILOG%s";
|
||||
const char* kIpcMsgCommand = "ICMD%s";
|
||||
const char* kIpcMsgShutdown = "ISDN";
|
Loading…
Add table
Add a link
Reference in a new issue