~darkxst/ubuntu/saucy/gdm/lp1212408

« back to all changes in this revision

Viewing changes to daemon/gdm-net.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2008-09-02 10:37:20 UTC
  • mfrom: (1.4.27 upstream)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: james.westby@ubuntu.com-20080902103720-p810vv530hqj45wg
Tags: 2.20.7-3
* Install the debian-moreblue-orbit theme, thanks Andre Luiz Rodrigues 
  Ferreira. Closes: #497440.
* 35_gdm.conf.patch: make it the default.
* copyright: fix encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <glib.h>
23
23
 
24
 
#ifndef TYPEDEF_GDM_CONNECTION
25
 
#define TYPEDEF_GDM_CONNECTION
26
24
typedef struct _GdmConnection GdmConnection;
27
 
#endif  /* TYPEDEF_GDM_CONNECTION */
28
 
 
29
 
#ifndef TYPEDEF_GDM_DISPLAY
30
 
#define TYPEDEF_GDM_DISPLAY
31
 
typedef struct _GdmDisplay GdmDisplay;
32
 
#endif /* TYPEDEF_GDM_DISPLAY */
 
25
 
 
26
#include "display.h"
 
27
 
 
28
/* Macros to check authentication level */
 
29
#define GDM_CONN_AUTHENTICATED(conn) \
 
30
        ((gdm_connection_get_user_flags (conn) & GDM_SUP_FLAG_AUTHENTICATED) || \
 
31
         (gdm_connection_get_user_flags (conn) & GDM_SUP_FLAG_AUTH_GLOBAL))
 
32
 
 
33
#define GDM_CONN_AUTH_GLOBAL(conn) \
 
34
         (gdm_connection_get_user_flags (conn) & GDM_SUP_FLAG_AUTH_GLOBAL)
 
35
 
33
36
 
34
37
/* Something that will get stuff line by line */
35
38
typedef void (* GdmConnectionHandler) (GdmConnection *conn,