mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-16 09:40:33 +01:00
libei: add a HELLO message on connect
This allows for some negotiation - server sends hello with some magic auth data, client sends connect with the reply to the hello. Not sure yet how or whether this makes sense, but at least it makes testing easy. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
91781ad3e0
commit
7f53c30157
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ enum ei_event_type {
|
|||
* return value for ei_next_event_type().
|
||||
*/
|
||||
EI_EVENT_NONE = 0,
|
||||
/**
|
||||
* Message sent by the server immediately on connect.
|
||||
*/
|
||||
EI_EVENT_HELLO,
|
||||
/**
|
||||
* The server has approved the connection to this client.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue