~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to src/greeter-protocol.h

  • Committer: robert.ancell at canonical
  • Date: 2011-02-20 10:27:53 UTC
  • Revision ID: robert.ancell@canonical.com-20110220102753-2kehwju1amzcpoag
Use a private pipe for greeter<->server communication instead of D-Bus (needs to be fixed in liblightdm-qt)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2010 Robert Ancell.
 
3
 * Author: Robert Ancell <robert.ancell@canonical.com>
 
4
 * 
 
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
 
9
 * license.
 
10
 */
 
11
 
 
12
#ifndef _GREETER_PROTOCOL_H_
 
13
#define _GREETER_PROTOCOL_H_
 
14
 
 
15
typedef enum
 
16
{
 
17
    /* Messages from the greeter to the server */
 
18
    GREETER_MESSAGE_CONNECT                 = 1,
 
19
    GREETER_MESSAGE_START_AUTHENTICATION    = 2,
 
20
    GREETER_MESSAGE_CONTINUE_AUTHENTICATION = 3,
 
21
    GREETER_MESSAGE_LOGIN                   = 4,
 
22
 
 
23
    /* Messages from the server to the greeter */
 
24
    GREETER_MESSAGE_CONNECTED               = 101,
 
25
    GREETER_MESSAGE_QUIT                    = 102,
 
26
    GREETER_MESSAGE_PROMPT_AUTHENTICATION   = 103,
 
27
    GREETER_MESSAGE_END_AUTHENTICATION      = 104
 
28
} GreeterMessage;
 
29
 
 
30
#endif /* _GREETER_PROTOCOL_H_ */