2 * Copyright (C) 2010-2011 Robert Ancell.
3 * Author: Robert Ancell <robert.ancell@canonical.com>
5 * This program is free software: you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option) any later
8 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
12 #ifndef _GREETER_PROTOCOL_H_
13 #define _GREETER_PROTOCOL_H_
17 /* Messages from the greeter to the server */
18 GREETER_MESSAGE_CONNECT = 1,
19 GREETER_MESSAGE_LOGIN = 2,
20 GREETER_MESSAGE_LOGIN_AS_GUEST = 3,
21 GREETER_MESSAGE_CONTINUE_AUTHENTICATION = 4,
22 GREETER_MESSAGE_START_SESSION = 5,
23 GREETER_MESSAGE_CANCEL_AUTHENTICATION = 6,
25 /* Messages from the server to the greeter */
26 GREETER_MESSAGE_CONNECTED = 101,
27 GREETER_MESSAGE_QUIT = 102,
28 GREETER_MESSAGE_PROMPT_AUTHENTICATION = 103,
29 GREETER_MESSAGE_END_AUTHENTICATION = 104,
30 GREETER_MESSAGE_USER_DEFAULTS = 106
33 #endif /* _GREETER_PROTOCOL_H_ */