~ubuntu-branches/ubuntu/precise/xdm/precise

« back to all changes in this revision

Viewing changes to dm.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-10-05 20:55:43 UTC
  • mfrom: (7.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081005205543-t9lgih96kbj1eidd
Tags: 1:1.1.8-5
Updated Polish debconf translation, thanks to Łukasz Paździora
(closes: #499073).

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
 
176
176
        /* display state */
177
177
        DisplayStatus   status;         /* current status */
178
 
        int             pid;            /* process id of child */
179
 
        int             serverPid;      /* process id of server (-1 if none) */
 
178
        pid_t           pid;            /* process id of child */
 
179
        pid_t           serverPid;      /* process id of server (-1 if none) */
180
180
        FileState       state;          /* state during HUP processing */
181
181
        int             startTries;     /* current start try */
182
182
        Time_t          lastCrash;      /* time of last crash */
242
242
 
243
243
        /* Hack for making "Willing to manage" configurable */
244
244
        char            *willing;       /* "Willing to manage" program */
 
245
        Display         *dpy;           /* Display */
 
246
        char            *windowPath;    /* path to server "window" */
245
247
};
246
248
 
247
249
#ifdef XDMCP
331
333
extern struct display   *FindDisplayByName (char *name),
332
334
                        *FindDisplayBySessionID (CARD32 sessionID),
333
335
                        *FindDisplayByAddress (XdmcpNetaddr addr, int addrlen, CARD16 displayNumber),
334
 
                        *FindDisplayByPid (int pid),
335
 
                        *FindDisplayByServerPid (int serverPid),
 
336
                        *FindDisplayByPid (pid_t pid),
 
337
                        *FindDisplayByServerPid (pid_t serverPid),
336
338
                        *NewDisplay (char *name, char *class);
337
339
 
338
340
extern struct protoDisplay      *FindProtoDisplay (
488
490
 
489
491
#include <stdlib.h>
490
492
 
491
 
#if defined(X_NOT_POSIX) && defined(SIGNALRETURNSINT)
492
 
#define SIGVAL int
493
 
#else
494
 
#define SIGVAL void
495
 
#endif
 
493
#define SIGVAL RETSIGTYPE
496
494
 
497
495
#if defined(X_NOT_POSIX) || defined(__UNIXOS2__) || defined(__NetBSD__) && defined(__sparc__)
498
496
#if defined(SYSV) || defined(__UNIXOS2__)