Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305367 Details for
Bug 446406
regexp.h header unaware of __REPB_PREFIX macro usage in regex.h
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
preprocessed source from xview-3.2p1.4/clients/olvwm-4.1/virtual.c
virtual.i (text/plain), 308.58 KB, created by
Need Real Name
on 2008-05-14 14:27:54 UTC
(
hide
)
Description:
preprocessed source from xview-3.2p1.4/clients/olvwm-4.1/virtual.c
Filename:
MIME Type:
Creator:
Need Real Name
Created:
2008-05-14 14:27:54 UTC
Size:
308.58 KB
patch
obsolete
># 1 "virtual.c" ># 1 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/clients/olvwm-4.1//" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "virtual.c" > > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 27 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 335 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 360 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 361 "/usr/include/sys/cdefs.h" 2 3 4 ># 336 "/usr/include/features.h" 2 3 4 ># 359 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > ># 1 "/usr/include/gnu/stubs-32.h" 1 3 4 ># 8 "/usr/include/gnu/stubs.h" 2 3 4 ># 360 "/usr/include/features.h" 2 3 4 ># 28 "/usr/include/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > > > >typedef __ino64_t ino_t; ># 62 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > > > >typedef __off64_t off_t; ># 100 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 59 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 217 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 24 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 128 "/usr/include/sys/select.h" 3 4 > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 ># 248 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; ># 273 "/usr/include/sys/types.h" 3 4 > ># 7 "virtual.c" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 78 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 53 "/usr/include/_G_config.h" 3 4 >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 170 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 180 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 203 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 271 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 319 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 328 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 364 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 416 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 458 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 488 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 76 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 89 "/usr/include/stdio.h" 3 4 > > > > >typedef _G_fpos64_t fpos_t; > > ># 141 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 142 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > ># 177 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__warn_unused_result__)); ># 188 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 206 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 231 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 245 "/usr/include/stdio.h" 3 4 > ># 262 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64") > > __attribute__ ((__warn_unused_result__)); >extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") > > > __attribute__ ((__warn_unused_result__)); > > > > > > ># 285 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 306 "/usr/include/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 400 "/usr/include/stdio.h" 3 4 > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); ># 443 "/usr/include/stdio.h" 3 4 > ># 506 "/usr/include/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 530 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 541 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 574 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)); > ># 655 "/usr/include/stdio.h" 3 4 > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__)); > ># 708 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > ># 752 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); > > >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); > > > > > > > > ># 777 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64"); > > > > > > > ># 795 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 825 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 844 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *cuserid (char *__s); ># 884 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 900 "/usr/include/stdio.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 44 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 125 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 906 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/stdio2.h" 1 3 4 ># 24 "/usr/include/bits/stdio2.h" 3 4 >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > ...) __attribute__ ((__nothrow__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, ...); >extern int __printf_chk (int __flag, __const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, __const char *__restrict __format, > __gnuc_va_list __ap); > > >extern __inline __attribute__ ((__always_inline__)) int >fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) int >printf (__const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) int >vfprintf (FILE *__restrict __stream, > __const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} ># 220 "/usr/include/bits/stdio2.h" 3 4 >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_warn (char *__str) __asm__ ("" "gets") > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >gets (char *__str) >{ > if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) > return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); > return __gets_warn (__str); >} > >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)); > > >extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} ># 319 "/usr/include/bits/stdio2.h" 3 4 >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} ># 909 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 8 "virtual.c" 2 ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 82 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > ># 130 "/usr/include/string.h" 3 4 >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 181 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 240 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 254 "/usr/include/string.h" 3 4 > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 294 "/usr/include/string.h" 3 4 >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 331 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 354 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 420 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 421 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1172 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} ># 1204 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1222 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1298 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 469 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > ># 891 "/usr/include/stdlib.h" 3 4 > ># 1299 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1322 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 424 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 23 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))); ># 48 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memmove (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 77 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) void >__attribute__ ((__nothrow__)) bcopy (__const void *__restrict __src, void *__restrict __dest, size_t __len) > >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) void >__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} ># 118 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > >extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__)); >extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__)); > > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 429 "/usr/include/string.h" 2 3 4 > > > > ># 9 "virtual.c" 2 ># 1 "/usr/include/dirent.h" 1 3 4 ># 28 "/usr/include/dirent.h" 3 4 > ># 62 "/usr/include/dirent.h" 3 4 ># 1 "/usr/include/bits/dirent.h" 1 3 4 ># 23 "/usr/include/bits/dirent.h" 3 4 >struct dirent > { > > > > > __ino64_t d_ino; > __off64_t d_off; > > unsigned short int d_reclen; > unsigned char d_type; > char d_name[256]; > }; ># 63 "/usr/include/dirent.h" 2 3 4 ># 98 "/usr/include/dirent.h" 3 4 >enum > { > DT_UNKNOWN = 0, > > DT_FIFO = 1, > > DT_CHR = 2, > > DT_DIR = 4, > > DT_BLK = 6, > > DT_REG = 8, > > DT_LNK = 10, > > DT_SOCK = 12, > > DT_WHT = 14 > > }; ># 128 "/usr/include/dirent.h" 3 4 >typedef struct __dirstream DIR; > > > > > > >extern DIR *opendir (__const char *__name) __attribute__ ((__nonnull__ (1))); ># 150 "/usr/include/dirent.h" 3 4 >extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 166 "/usr/include/dirent.h" 3 4 >extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") > __attribute__ ((__nonnull__ (1))); ># 190 "/usr/include/dirent.h" 3 4 >extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") __attribute__ ((__nonnull__ (1, 2, 3))); ># 209 "/usr/include/dirent.h" 3 4 >extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 40 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 233 "/usr/include/dirent.h" 2 3 4 ># 243 "/usr/include/dirent.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 244 "/usr/include/dirent.h" 2 3 4 ># 257 "/usr/include/dirent.h" 3 4 >extern int scandir (__const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (__const struct dirent *), int (*__cmp) (__const void *, __const void *)) __asm__ ("" "scandir64") __attribute__ ((__nonnull__ (1, 2))); ># 284 "/usr/include/dirent.h" 3 4 >extern int alphasort (__const void *__e1, __const void *__e2) __asm__ ("" "alphasort64") __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 330 "/usr/include/dirent.h" 3 4 >extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __asm__ ("" "getdirentries64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); ># 349 "/usr/include/dirent.h" 3 4 > ># 10 "virtual.c" 2 ># 1 "/usr/include/math.h" 1 3 4 ># 30 "/usr/include/math.h" 3 4 > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 ># 47 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 48 "/usr/include/math.h" 2 3 4 ># 71 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); > >extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); > >extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); > >extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); > > >extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); > >extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); > >extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); > > > > >extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); > >extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); > >extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); > >extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); > >extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); > > >extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); > > >extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); > > >extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); > > >extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); > > >extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); > ># 152 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); > > > > > > >extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 231 "/usr/include/bits/mathcalls.h" 3 4 >extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); >extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); >extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); >extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); >extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); >extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); > > > > > > >extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); >extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); >extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); > ># 265 "/usr/include/bits/mathcalls.h" 3 4 >extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); > > > > > > >extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); > > >extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); ># 359 "/usr/include/bits/mathcalls.h" 3 4 > > > > > >extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); ># 72 "/usr/include/math.h" 2 3 4 ># 94 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); > >extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); > >extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); > >extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); > > >extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); > >extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); > >extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); > > > > >extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); > >extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); > >extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); > >extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); > >extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); > > > > > > > >extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); > > >extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); > > >extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); > > >extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); > > >extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); > > >extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); > ># 152 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > > > >extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 231 "/usr/include/bits/mathcalls.h" 3 4 >extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); >extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); >extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); >extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); >extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); >extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); > > > > > > >extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); >extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); >extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); > ># 265 "/usr/include/bits/mathcalls.h" 3 4 >extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); > > > > > > >extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); > > >extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); ># 359 "/usr/include/bits/mathcalls.h" 3 4 > > > > > >extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); ># 95 "/usr/include/math.h" 2 3 4 ># 141 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); > > >extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); > ># 152 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > > > >extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 231 "/usr/include/bits/mathcalls.h" 3 4 >extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); >extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); >extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); >extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); >extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); >extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); >extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); >extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); > ># 265 "/usr/include/bits/mathcalls.h" 3 4 >extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); ># 359 "/usr/include/bits/mathcalls.h" 3 4 > > > > > >extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); ># 142 "/usr/include/math.h" 2 3 4 ># 157 "/usr/include/math.h" 3 4 >extern int signgam; ># 284 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 309 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 409 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 291 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } ># 433 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } ># 473 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); } > >extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); } >extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); } > >extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } ># 506 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } ># 530 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } ># 548 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } ># 727 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) __finite (double __x) >{ > return (__extension__ > (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] > | 0x800fffffu) + 1) >> 31)); >} ># 410 "/usr/include/math.h" 2 3 4 ># 465 "/usr/include/math.h" 3 4 > ># 11 "virtual.c" 2 ># 1 "/usr/include/sys/param.h" 1 3 4 ># 26 "/usr/include/sys/param.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 149 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 154 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h" 2 3 4 ># 27 "/usr/include/sys/param.h" 2 3 4 > ># 1 "/usr/include/linux/param.h" 1 3 4 > > > ># 1 "/usr/include/asm/param.h" 1 3 4 ># 5 "/usr/include/linux/param.h" 2 3 4 ># 29 "/usr/include/sys/param.h" 2 3 4 ># 12 "virtual.c" 2 ># 1 "/usr/include/X11/Xos.h" 1 3 4 ># 40 "/usr/include/X11/Xos.h" 3 4 ># 1 "/usr/include/X11/Xosdefs.h" 1 3 4 ># 41 "/usr/include/X11/Xos.h" 2 3 4 ># 167 "/usr/include/X11/Xos.h" 3 4 ># 1 "/usr/include/fcntl.h" 1 3 4 ># 30 "/usr/include/fcntl.h" 3 4 > > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 144 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > > > > __off64_t l_start; > __off64_t l_len; > > __pid_t l_pid; > }; ># 211 "/usr/include/bits/fcntl.h" 3 4 > ># 240 "/usr/include/bits/fcntl.h" 3 4 > ># 35 "/usr/include/fcntl.h" 2 3 4 > > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 39 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 40 "/usr/include/sys/stat.h" 2 3 4 ># 105 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 36 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > unsigned short int __pad1; > > > > __ino_t __st_ino; > > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned short int __pad2; > > > > __off64_t st_size; > > __blksize_t st_blksize; > > > > > __blkcnt64_t st_blocks; ># 70 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 88 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > > }; ># 108 "/usr/include/sys/stat.h" 2 3 4 ># 217 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (1, 2))); >extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__)) > __attribute__ ((__nonnull__ (2))); ># 265 "/usr/include/sys/stat.h" 3 4 >extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1, 2))); ># 282 "/usr/include/sys/stat.h" 3 4 >extern int chmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); ># 309 "/usr/include/sys/stat.h" 3 4 >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); ># 318 "/usr/include/sys/stat.h" 3 4 >extern int mkdir (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 333 "/usr/include/sys/stat.h" 3 4 >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 347 "/usr/include/sys/stat.h" 3 4 >extern int mkfifo (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 408 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, __const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); ># 440 "/usr/include/sys/stat.h" 3 4 >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, __const char *__path, > __mode_t __mode, __dev_t *__dev) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline int >__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf) >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (3, __fd, __statbuf); >} ># 480 "/usr/include/sys/stat.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (1, __path, __mode, &__dev); >} ># 532 "/usr/include/sys/stat.h" 3 4 > ># 39 "/usr/include/fcntl.h" 2 3 4 ># 76 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 88 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __asm__ ("" "open64") > __attribute__ ((__nonnull__ (1))); ># 133 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __asm__ ("" "creat64") __attribute__ ((__nonnull__ (1))); ># 162 "/usr/include/fcntl.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64"); ># 217 "/usr/include/fcntl.h" 3 4 ># 1 "/usr/include/bits/fcntl2.h" 1 3 4 ># 31 "/usr/include/bits/fcntl2.h" 3 4 >extern int __open_2 (__const char *__path, int __oflag) __asm__ ("" "__open64_2") __attribute__ ((__nonnull__ (1))); > >extern int __open_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); > > >extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more"))); > >extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT in second argument needs 3 arguments"))); > > >extern __inline __attribute__ ((__always_inline__)) int >open (__const char *__path, int __oflag, ...) >{ > if (__builtin_va_arg_pack_len () > 1) > __open_too_many_args (); > > if (__builtin_constant_p (__oflag)) > { > if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) > { > __open_missing_mode (); > return __open_2 (__path, __oflag); > } > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); > } > > if (__builtin_va_arg_pack_len () < 1) > return __open_2 (__path, __oflag); > > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); >} ># 218 "/usr/include/fcntl.h" 2 3 4 > > > ># 168 "/usr/include/X11/Xos.h" 2 3 4 ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 173 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 174 "/usr/include/unistd.h" 2 3 4 ># 197 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 198 "/usr/include/unistd.h" 2 3 4 ># 238 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 258 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 304 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__)); ># 320 "/usr/include/unistd.h" 3 4 >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)); ># 384 "/usr/include/unistd.h" 3 4 >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 393 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 405 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 429 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 457 "/usr/include/unistd.h" 3 4 >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 471 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 484 "/usr/include/unistd.h" 3 4 >extern char *getwd (char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); > > >extern char **__environ; > > > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 516 "/usr/include/unistd.h" 3 4 >extern int execv (__const char *__path, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 555 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); ># 591 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); ># 600 "/usr/include/unistd.h" 3 4 >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 617 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 634 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) __attribute__ ((__nothrow__)); > > > > > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 667 "/usr/include/unistd.h" 3 4 >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); ># 723 "/usr/include/unistd.h" 3 4 >extern __pid_t fork (void) __attribute__ ((__nothrow__)); > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__)); > > > > >extern int link (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); ># 769 "/usr/include/unistd.h" 3 4 >extern int symlink (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern ssize_t readlink (__const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); ># 792 "/usr/include/unistd.h" 3 4 >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 801 "/usr/include/unistd.h" 3 4 >extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); > > > > > > >extern char *getlogin (void); ># 828 "/usr/include/unistd.h" 3 4 >extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 837 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 838 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int setdomainname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__)); > > >extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) __attribute__ ((__nothrow__)); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__)); >extern void endusershell (void) __attribute__ ((__nothrow__)); >extern void setusershell (void) __attribute__ ((__nothrow__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 923 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__)); > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__)); ># 952 "/usr/include/unistd.h" 3 4 >extern int truncate (__const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 973 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 990 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 1011 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 1065 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); > > > > > ># 1 "/usr/include/bits/unistd.h" 1 3 4 ># 24 "/usr/include/bits/unistd.h" 3 4 >extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, > size_t __buflen) __attribute__ ((__warn_unused_result__)); >extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__)); > >extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) ssize_t >read (int __fd, void *__buf, size_t __nbytes) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__nbytes)) > return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > > if (__nbytes > __builtin_object_size (__buf, 0)) > return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > } > return __read_alias (__fd, __buf, __nbytes); >} ># 124 "/usr/include/bits/unistd.h" 3 4 >extern ssize_t __readlink_chk (__const char *__restrict __path, > char *__restrict __buf, size_t __len, > size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__)) > > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t >__attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) > >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if ( __len > __builtin_object_size (__buf, 2 > 1)) > return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __readlink_alias (__path, __buf, __len); >} ># 190 "/usr/include/bits/unistd.h" 3 4 >extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size)) > return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > > if (__size > __builtin_object_size (__buf, 2 > 1)) > return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > } > return __getcwd_alias (__buf, __size); >} > > >extern char *__getwd_chk (char *__buf, size_t buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__)) > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) getwd (char *__buf) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); > return __getwd_warn (__buf); >} > > >extern size_t __confstr_chk (int __name, char *__buf, size_t __len, > size_t __buflen) __attribute__ ((__nothrow__)); >extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__)); > >extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__)) > > > __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if (__builtin_object_size (__buf, 2 > 1) < __len) > return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __confstr_alias (__name, __buf, __len); >} > > >extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[]) >{ > if (__builtin_object_size (__list, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size)) > return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)); > > if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1)) > return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)); > } > return __getgroups_alias (__size, __list); >} > > >extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ttyname_r_alias (__fd, __buf, __buflen); >} ># 334 "/usr/include/bits/unistd.h" 3 4 >extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __gethostname_alias (__buf, __buflen); >} > > > > >extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > >extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))); > > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __getdomainname_alias (__buf, __buflen); >} ># 1101 "/usr/include/unistd.h" 2 3 4 > > > ># 169 "/usr/include/X11/Xos.h" 2 3 4 ># 239 "/usr/include/X11/Xos.h" 3 4 ># 1 "/usr/include/sys/time.h" 1 3 4 ># 27 "/usr/include/sys/time.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/sys/time.h" 2 3 4 ># 39 "/usr/include/sys/time.h" 3 4 > ># 57 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 73 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) __attribute__ ((__nothrow__)); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > > > >typedef int __itimer_which_t; > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) __attribute__ ((__nothrow__)); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); ># 191 "/usr/include/sys/time.h" 3 4 > ># 240 "/usr/include/X11/Xos.h" 2 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 31 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 40 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 40 "/usr/include/bits/time.h" 3 4 >extern long int __sysconf (int); ># 44 "/usr/include/time.h" 2 3 4 ># 132 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 181 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) __attribute__ ((__nothrow__)); > > >extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); > > >extern double difftime (time_t __time1, time_t __time0) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > __attribute__ ((__nothrow__)); ># 229 "/usr/include/time.h" 3 4 > > > >extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) __attribute__ ((__nothrow__)); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); ># 312 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 327 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > __attribute__ ((__nothrow__)); ># 356 "/usr/include/time.h" 3 4 >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > __attribute__ ((__nothrow__)); > > >extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); ># 416 "/usr/include/time.h" 3 4 > ># 241 "/usr/include/X11/Xos.h" 2 3 4 ># 294 "/usr/include/X11/Xos.h" 3 4 ># 1 "/usr/include/X11/Xarch.h" 1 3 4 ># 295 "/usr/include/X11/Xos.h" 2 3 4 ># 13 "virtual.c" 2 ># 1 "/usr/include/X11/Xlib.h" 1 3 4 ># 60 "/usr/include/X11/Xlib.h" 3 4 ># 1 "/usr/include/X11/X.h" 1 3 4 ># 71 "/usr/include/X11/X.h" 3 4 >typedef unsigned long XID; > > > >typedef unsigned long Mask; > > > >typedef unsigned long Atom; > >typedef unsigned long VisualID; >typedef unsigned long Time; ># 101 "/usr/include/X11/X.h" 3 4 >typedef XID Window; >typedef XID Drawable; > > >typedef XID Font; > >typedef XID Pixmap; >typedef XID Cursor; >typedef XID Colormap; >typedef XID GContext; >typedef XID KeySym; > >typedef unsigned char KeyCode; ># 61 "/usr/include/X11/Xlib.h" 2 3 4 > > ># 1 "/usr/include/X11/Xfuncproto.h" 1 3 4 ># 64 "/usr/include/X11/Xlib.h" 2 3 4 ># 75 "/usr/include/X11/Xlib.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 152 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 326 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 3 4 >typedef long int wchar_t; ># 76 "/usr/include/X11/Xlib.h" 2 3 4 ># 93 "/usr/include/X11/Xlib.h" 3 4 >extern int >_Xmblen( > > > > > char *str, > int len > > ); > > > > > >typedef char *XPointer; ># 180 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XExtData { > int number; > struct _XExtData *next; > int (*free_private)( > struct _XExtData *extension > ); > XPointer private_data; >} XExtData; > > > > >typedef struct { > int extension; > int major_opcode; > int first_event; > int first_error; >} XExtCodes; > > > > > >typedef struct { > int depth; > int bits_per_pixel; > int scanline_pad; >} XPixmapFormatValues; > > > > > >typedef struct { > int function; > unsigned long plane_mask; > unsigned long foreground; > unsigned long background; > int line_width; > int line_style; > int cap_style; > > int join_style; > int fill_style; > > int fill_rule; > int arc_mode; > Pixmap tile; > Pixmap stipple; > int ts_x_origin; > int ts_y_origin; > Font font; > int subwindow_mode; > int graphics_exposures; > int clip_x_origin; > int clip_y_origin; > Pixmap clip_mask; > int dash_offset; > char dashes; >} XGCValues; > > > > > > >typedef struct _XGC > > > > > > > >*GC; > > > > >typedef struct { > XExtData *ext_data; > VisualID visualid; > > > > int class; > > unsigned long red_mask, green_mask, blue_mask; > int bits_per_rgb; > int map_entries; >} Visual; > > > > >typedef struct { > int depth; > int nvisuals; > Visual *visuals; >} Depth; > > > > > > > >struct _XDisplay; > >typedef struct { > XExtData *ext_data; > struct _XDisplay *display; > Window root; > int width, height; > int mwidth, mheight; > int ndepths; > Depth *depths; > int root_depth; > Visual *root_visual; > GC default_gc; > Colormap cmap; > unsigned long white_pixel; > unsigned long black_pixel; > int max_maps, min_maps; > int backing_store; > int save_unders; > long root_input_mask; >} Screen; > > > > >typedef struct { > XExtData *ext_data; > int depth; > int bits_per_pixel; > int scanline_pad; >} ScreenFormat; > > > > >typedef struct { > Pixmap background_pixmap; > unsigned long background_pixel; > Pixmap border_pixmap; > unsigned long border_pixel; > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > long event_mask; > long do_not_propagate_mask; > int override_redirect; > Colormap colormap; > Cursor cursor; >} XSetWindowAttributes; > >typedef struct { > int x, y; > int width, height; > int border_width; > int depth; > Visual *visual; > Window root; > > > > int class; > > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > Colormap colormap; > int map_installed; > int map_state; > long all_event_masks; > long your_event_mask; > long do_not_propagate_mask; > int override_redirect; > Screen *screen; >} XWindowAttributes; > > > > > > >typedef struct { > int family; > int length; > char *address; >} XHostAddress; > > > > >typedef struct { > int typelength; > int valuelength; > char *type; > char *value; >} XServerInterpretedAddress; > > > > >typedef struct _XImage { > int width, height; > int xoffset; > int format; > char *data; > int byte_order; > int bitmap_unit; > int bitmap_bit_order; > int bitmap_pad; > int depth; > int bytes_per_line; > int bits_per_pixel; > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > XPointer obdata; > struct funcs { > struct _XImage *(*create_image)( > struct _XDisplay* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int ); > int (*destroy_image) (struct _XImage *); > unsigned long (*get_pixel) (struct _XImage *, int, int); > int (*put_pixel) (struct _XImage *, int, int, unsigned long); > struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); > int (*add_pixel) (struct _XImage *, long); > } f; >} XImage; > > > > >typedef struct { > int x, y; > int width, height; > int border_width; > Window sibling; > int stack_mode; >} XWindowChanges; > > > > >typedef struct { > unsigned long pixel; > unsigned short red, green, blue; > char flags; > char pad; >} XColor; > > > > > > >typedef struct { > short x1, y1, x2, y2; >} XSegment; > >typedef struct { > short x, y; >} XPoint; > >typedef struct { > short x, y; > unsigned short width, height; >} XRectangle; > >typedef struct { > short x, y; > unsigned short width, height; > short angle1, angle2; >} XArc; > > > > >typedef struct { > int key_click_percent; > int bell_percent; > int bell_pitch; > int bell_duration; > int led; > int led_mode; > int key; > int auto_repeat_mode; >} XKeyboardControl; > > > >typedef struct { > int key_click_percent; > int bell_percent; > unsigned int bell_pitch, bell_duration; > unsigned long led_mask; > int global_auto_repeat; > char auto_repeats[32]; >} XKeyboardState; > > > >typedef struct { > Time time; > short x, y; >} XTimeCoord; > > > >typedef struct { > int max_keypermod; > KeyCode *modifiermap; >} XModifierKeymap; ># 519 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XDisplay Display; > > >struct _XPrivate; >struct _XrmHashBucketRec; > >typedef struct > > > >{ > XExtData *ext_data; > struct _XPrivate *private1; > int fd; > int private2; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID private3; > XID private4; > XID private5; > int private6; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int private8; > int release; > struct _XPrivate *private9, *private10; > int qlen; > unsigned long last_request_read; > unsigned long request; > XPointer private11; > XPointer private12; > XPointer private13; > XPointer private14; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*private15)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long private16; > int min_keycode; > int max_keycode; > XPointer private17; > XPointer private18; > int private19; > char *xdefaults; > >} > > > >*_XPrivDisplay; > > > > > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int keycode; > int same_screen; >} XKeyEvent; >typedef XKeyEvent XKeyPressedEvent; >typedef XKeyEvent XKeyReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int button; > int same_screen; >} XButtonEvent; >typedef XButtonEvent XButtonPressedEvent; >typedef XButtonEvent XButtonReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > char is_hint; > int same_screen; >} XMotionEvent; >typedef XMotionEvent XPointerMovedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > int mode; > int detail; > > > > > int same_screen; > int focus; > unsigned int state; >} XCrossingEvent; >typedef XCrossingEvent XEnterWindowEvent; >typedef XCrossingEvent XLeaveWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int mode; > > int detail; > > > > > >} XFocusChangeEvent; >typedef XFocusChangeEvent XFocusInEvent; >typedef XFocusChangeEvent XFocusOutEvent; > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > char key_vector[32]; >} XKeymapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int x, y; > int width, height; > int count; >} XExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int x, y; > int width, height; > int count; > int major_code; > int minor_code; >} XGraphicsExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int major_code; > int minor_code; >} XNoExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int state; >} XVisibilityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > int override_redirect; >} XCreateWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; >} XDestroyWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int from_configure; >} XUnmapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int override_redirect; >} XMapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; >} XMapRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > Window parent; > int x, y; > int override_redirect; >} XReparentEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int override_redirect; >} XConfigureEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; >} XGravityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int width, height; >} XResizeRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int detail; > unsigned long value_mask; >} XConfigureRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int place; >} XCirculateEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int place; >} XCirculateRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom atom; > Time time; > int state; >} XPropertyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom selection; > Time time; >} XSelectionClearEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window owner; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Colormap colormap; > > > > int new; > > int state; >} XColormapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom message_type; > int format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >} XClientMessageEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int request; > > int first_keycode; > int count; >} XMappingEvent; > >typedef struct { > int type; > Display *display; > XID resourceid; > unsigned long serial; > unsigned char error_code; > unsigned char request_code; > unsigned char minor_code; >} XErrorEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; >} XAnyEvent; > > > > > >typedef union _XEvent { > int type; > XAnyEvent xany; > XKeyEvent xkey; > XButtonEvent xbutton; > XMotionEvent xmotion; > XCrossingEvent xcrossing; > XFocusChangeEvent xfocus; > XExposeEvent xexpose; > XGraphicsExposeEvent xgraphicsexpose; > XNoExposeEvent xnoexpose; > XVisibilityEvent xvisibility; > XCreateWindowEvent xcreatewindow; > XDestroyWindowEvent xdestroywindow; > XUnmapEvent xunmap; > XMapEvent xmap; > XMapRequestEvent xmaprequest; > XReparentEvent xreparent; > XConfigureEvent xconfigure; > XGravityEvent xgravity; > XResizeRequestEvent xresizerequest; > XConfigureRequestEvent xconfigurerequest; > XCirculateEvent xcirculate; > XCirculateRequestEvent xcirculaterequest; > XPropertyEvent xproperty; > XSelectionClearEvent xselectionclear; > XSelectionRequestEvent xselectionrequest; > XSelectionEvent xselection; > XColormapEvent xcolormap; > XClientMessageEvent xclient; > XMappingEvent xmapping; > XErrorEvent xerror; > XKeymapEvent xkeymap; > long pad[24]; >} XEvent; > > > > > > > >typedef struct { > short lbearing; > short rbearing; > short width; > short ascent; > short descent; > unsigned short attributes; >} XCharStruct; > > > > > >typedef struct { > Atom name; > unsigned long card32; >} XFontProp; > >typedef struct { > XExtData *ext_data; > Font fid; > unsigned direction; > unsigned min_char_or_byte2; > unsigned max_char_or_byte2; > unsigned min_byte1; > unsigned max_byte1; > int all_chars_exist; > unsigned default_char; > int n_properties; > XFontProp *properties; > XCharStruct min_bounds; > XCharStruct max_bounds; > XCharStruct *per_char; > int ascent; > int descent; >} XFontStruct; > > > > >typedef struct { > char *chars; > int nchars; > int delta; > Font font; >} XTextItem; > >typedef struct { > unsigned char byte1; > unsigned char byte2; >} XChar2b; > >typedef struct { > XChar2b *chars; > int nchars; > int delta; > Font font; >} XTextItem16; > > >typedef union { Display *display; > GC gc; > Visual *visual; > Screen *screen; > ScreenFormat *pixmap_format; > XFontStruct *font; } XEDataObject; > >typedef struct { > XRectangle max_ink_extent; > XRectangle max_logical_extent; >} XFontSetExtents; > > > > > >typedef struct _XOM *XOM; >typedef struct _XOC *XOC, *XFontSet; > >typedef struct { > char *chars; > int nchars; > int delta; > XFontSet font_set; >} XmbTextItem; > >typedef struct { > wchar_t *chars; > int nchars; > int delta; > XFontSet font_set; >} XwcTextItem; ># 1124 "/usr/include/X11/Xlib.h" 3 4 >typedef struct { > int charset_count; > char **charset_list; >} XOMCharSetList; > >typedef enum { > XOMOrientation_LTR_TTB, > XOMOrientation_RTL_TTB, > XOMOrientation_TTB_LTR, > XOMOrientation_TTB_RTL, > XOMOrientation_Context >} XOrientation; > >typedef struct { > int num_orientation; > XOrientation *orientation; >} XOMOrientation; > >typedef struct { > int num_font; > XFontStruct **font_struct_list; > char **font_name_list; >} XOMFontInfo; > >typedef struct _XIM *XIM; >typedef struct _XIC *XIC; > >typedef void (*XIMProc)( > XIM, > XPointer, > XPointer >); > >typedef int (*XICProc)( > XIC, > XPointer, > XPointer >); > >typedef void (*XIDProc)( > Display*, > XPointer, > XPointer >); > >typedef unsigned long XIMStyle; > >typedef struct { > unsigned short count_styles; > XIMStyle *supported_styles; >} XIMStyles; ># 1236 "/usr/include/X11/Xlib.h" 3 4 >typedef void *XVaNestedList; > >typedef struct { > XPointer client_data; > XIMProc callback; >} XIMCallback; > >typedef struct { > XPointer client_data; > XICProc callback; >} XICCallback; > >typedef unsigned long XIMFeedback; ># 1260 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XIMText { > unsigned short length; > XIMFeedback *feedback; > int encoding_is_wchar; > union { > char *multi_byte; > wchar_t *wide_char; > } string; >} XIMText; > >typedef unsigned long XIMPreeditState; > > > > > >typedef struct _XIMPreeditStateNotifyCallbackStruct { > XIMPreeditState state; >} XIMPreeditStateNotifyCallbackStruct; > >typedef unsigned long XIMResetState; > > > > >typedef unsigned long XIMStringConversionFeedback; ># 1294 "/usr/include/X11/Xlib.h" 3 4 >typedef struct _XIMStringConversionText { > unsigned short length; > XIMStringConversionFeedback *feedback; > int encoding_is_wchar; > union { > char *mbs; > wchar_t *wcs; > } string; >} XIMStringConversionText; > >typedef unsigned short XIMStringConversionPosition; > >typedef unsigned short XIMStringConversionType; > > > > > > >typedef unsigned short XIMStringConversionOperation; > > > > >typedef enum { > XIMForwardChar, XIMBackwardChar, > XIMForwardWord, XIMBackwardWord, > XIMCaretUp, XIMCaretDown, > XIMNextLine, XIMPreviousLine, > XIMLineStart, XIMLineEnd, > XIMAbsolutePosition, > XIMDontChange >} XIMCaretDirection; > >typedef struct _XIMStringConversionCallbackStruct { > XIMStringConversionPosition position; > XIMCaretDirection direction; > XIMStringConversionOperation operation; > unsigned short factor; > XIMStringConversionText *text; >} XIMStringConversionCallbackStruct; > >typedef struct _XIMPreeditDrawCallbackStruct { > int caret; > int chg_first; > int chg_length; > XIMText *text; >} XIMPreeditDrawCallbackStruct; > >typedef enum { > XIMIsInvisible, > XIMIsPrimary, > XIMIsSecondary >} XIMCaretStyle; > >typedef struct _XIMPreeditCaretCallbackStruct { > int position; > XIMCaretDirection direction; > XIMCaretStyle style; >} XIMPreeditCaretCallbackStruct; > >typedef enum { > XIMTextType, > XIMBitmapType >} XIMStatusDataType; > >typedef struct _XIMStatusDrawCallbackStruct { > XIMStatusDataType type; > union { > XIMText *text; > Pixmap bitmap; > } data; >} XIMStatusDrawCallbackStruct; > >typedef struct _XIMHotKeyTrigger { > KeySym keysym; > int modifier; > int modifier_mask; >} XIMHotKeyTrigger; > >typedef struct _XIMHotKeyTriggers { > int num_hot_key; > XIMHotKeyTrigger *key; >} XIMHotKeyTriggers; > >typedef unsigned long XIMHotKeyState; > > > > >typedef struct { > unsigned short count_values; > char **supported_values; >} XIMValuesList; > > > > > > > >extern int _Xdebug; > >extern XFontStruct *XLoadQueryFont( > Display* , > const char* >); > >extern XFontStruct *XQueryFont( > Display* , > XID >); > > >extern XTimeCoord *XGetMotionEvents( > Display* , > Window , > Time , > Time , > int* >); > >extern XModifierKeymap *XDeleteModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XGetModifierMapping( > Display* >); > >extern XModifierKeymap *XInsertModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XNewModifiermap( > int >); > >extern XImage *XCreateImage( > Display* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int >); >extern int XInitImage( > XImage* >); >extern XImage *XGetImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int >); >extern XImage *XGetSubImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int , > XImage* , > int , > int >); > > > > >extern Display *XOpenDisplay( > const char* >); > >extern void XrmInitialize( > void >); > >extern char *XFetchBytes( > Display* , > int* >); >extern char *XFetchBuffer( > Display* , > int* , > int >); >extern char *XGetAtomName( > Display* , > Atom >); >extern int XGetAtomNames( > Display* , > Atom* , > int , > char** >); >extern char *XGetDefault( > Display* , > const char* , > const char* >); >extern char *XDisplayName( > const char* >); >extern char *XKeysymToString( > KeySym >); > >extern int (*XSynchronize( > Display* , > int >))( > Display* >); >extern int (*XSetAfterFunction( > Display* , > int (*) ( > Display* > ) >))( > Display* >); >extern Atom XInternAtom( > Display* , > const char* , > int >); >extern int XInternAtoms( > Display* , > char** , > int , > int , > Atom* >); >extern Colormap XCopyColormapAndFree( > Display* , > Colormap >); >extern Colormap XCreateColormap( > Display* , > Window , > Visual* , > int >); >extern Cursor XCreatePixmapCursor( > Display* , > Pixmap , > Pixmap , > XColor* , > XColor* , > unsigned int , > unsigned int >); >extern Cursor XCreateGlyphCursor( > Display* , > Font , > Font , > unsigned int , > unsigned int , > XColor const * , > XColor const * >); >extern Cursor XCreateFontCursor( > Display* , > unsigned int >); >extern Font XLoadFont( > Display* , > const char* >); >extern GC XCreateGC( > Display* , > Drawable , > unsigned long , > XGCValues* >); >extern GContext XGContextFromGC( > GC >); >extern void XFlushGC( > Display* , > GC >); >extern Pixmap XCreatePixmap( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int >); >extern Pixmap XCreateBitmapFromData( > Display* , > Drawable , > const char* , > unsigned int , > unsigned int >); >extern Pixmap XCreatePixmapFromBitmapData( > Display* , > Drawable , > char* , > unsigned int , > unsigned int , > unsigned long , > unsigned long , > unsigned int >); >extern Window XCreateSimpleWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > unsigned long , > unsigned long >); >extern Window XGetSelectionOwner( > Display* , > Atom >); >extern Window XCreateWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > int , > unsigned int , > Visual* , > unsigned long , > XSetWindowAttributes* >); >extern Colormap *XListInstalledColormaps( > Display* , > Window , > int* >); >extern char **XListFonts( > Display* , > const char* , > int , > int* >); >extern char **XListFontsWithInfo( > Display* , > const char* , > int , > int* , > XFontStruct** >); >extern char **XGetFontPath( > Display* , > int* >); >extern char **XListExtensions( > Display* , > int* >); >extern Atom *XListProperties( > Display* , > Window , > int* >); >extern XHostAddress *XListHosts( > Display* , > int* , > int* >); >extern KeySym XKeycodeToKeysym( > Display* , > > > > KeyCode , > > int >); >extern KeySym XLookupKeysym( > XKeyEvent* , > int >); >extern KeySym *XGetKeyboardMapping( > Display* , > > > > KeyCode , > > int , > int* >); >extern KeySym XStringToKeysym( > const char* >); >extern long XMaxRequestSize( > Display* >); >extern long XExtendedMaxRequestSize( > Display* >); >extern char *XResourceManagerString( > Display* >); >extern char *XScreenResourceString( > Screen* >); >extern unsigned long XDisplayMotionBufferSize( > Display* >); >extern VisualID XVisualIDFromVisual( > Visual* >); > > > >extern int XInitThreads( > void >); > >extern void XLockDisplay( > Display* >); > >extern void XUnlockDisplay( > Display* >); > > > >extern XExtCodes *XInitExtension( > Display* , > const char* >); > >extern XExtCodes *XAddExtension( > Display* >); >extern XExtData *XFindOnExtensionList( > XExtData** , > int >); >extern XExtData **XEHeadOfExtensionList( > XEDataObject >); > > >extern Window XRootWindow( > Display* , > int >); >extern Window XDefaultRootWindow( > Display* >); >extern Window XRootWindowOfScreen( > Screen* >); >extern Visual *XDefaultVisual( > Display* , > int >); >extern Visual *XDefaultVisualOfScreen( > Screen* >); >extern GC XDefaultGC( > Display* , > int >); >extern GC XDefaultGCOfScreen( > Screen* >); >extern unsigned long XBlackPixel( > Display* , > int >); >extern unsigned long XWhitePixel( > Display* , > int >); >extern unsigned long XAllPlanes( > void >); >extern unsigned long XBlackPixelOfScreen( > Screen* >); >extern unsigned long XWhitePixelOfScreen( > Screen* >); >extern unsigned long XNextRequest( > Display* >); >extern unsigned long XLastKnownRequestProcessed( > Display* >); >extern char *XServerVendor( > Display* >); >extern char *XDisplayString( > Display* >); >extern Colormap XDefaultColormap( > Display* , > int >); >extern Colormap XDefaultColormapOfScreen( > Screen* >); >extern Display *XDisplayOfScreen( > Screen* >); >extern Screen *XScreenOfDisplay( > Display* , > int >); >extern Screen *XDefaultScreenOfDisplay( > Display* >); >extern long XEventMaskOfScreen( > Screen* >); > >extern int XScreenNumberOfScreen( > Screen* >); > >typedef int (*XErrorHandler) ( > Display* , > XErrorEvent* >); > >extern XErrorHandler XSetErrorHandler ( > XErrorHandler >); > > >typedef int (*XIOErrorHandler) ( > Display* >); > >extern XIOErrorHandler XSetIOErrorHandler ( > XIOErrorHandler >); > > >extern XPixmapFormatValues *XListPixmapFormats( > Display* , > int* >); >extern int *XListDepths( > Display* , > int , > int* >); > > > >extern int XReconfigureWMWindow( > Display* , > Window , > int , > unsigned int , > XWindowChanges* >); > >extern int XGetWMProtocols( > Display* , > Window , > Atom** , > int* >); >extern int XSetWMProtocols( > Display* , > Window , > Atom* , > int >); >extern int XIconifyWindow( > Display* , > Window , > int >); >extern int XWithdrawWindow( > Display* , > Window , > int >); >extern int XGetCommand( > Display* , > Window , > char*** , > int* >); >extern int XGetWMColormapWindows( > Display* , > Window , > Window** , > int* >); >extern int XSetWMColormapWindows( > Display* , > Window , > Window* , > int >); >extern void XFreeStringList( > char** >); >extern int XSetTransientForHint( > Display* , > Window , > Window >); > > > >extern int XActivateScreenSaver( > Display* >); > >extern int XAddHost( > Display* , > XHostAddress* >); > >extern int XAddHosts( > Display* , > XHostAddress* , > int >); > >extern int XAddToExtensionList( > struct _XExtData** , > XExtData* >); > >extern int XAddToSaveSet( > Display* , > Window >); > >extern int XAllocColor( > Display* , > Colormap , > XColor* >); > >extern int XAllocColorCells( > Display* , > Colormap , > int , > unsigned long* , > unsigned int , > unsigned long* , > unsigned int >); > >extern int XAllocColorPlanes( > Display* , > Colormap , > int , > unsigned long* , > int , > int , > int , > int , > unsigned long* , > unsigned long* , > unsigned long* >); > >extern int XAllocNamedColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XAllowEvents( > Display* , > int , > Time >); > >extern int XAutoRepeatOff( > Display* >); > >extern int XAutoRepeatOn( > Display* >); > >extern int XBell( > Display* , > int >); > >extern int XBitmapBitOrder( > Display* >); > >extern int XBitmapPad( > Display* >); > >extern int XBitmapUnit( > Display* >); > >extern int XCellsOfScreen( > Screen* >); > >extern int XChangeActivePointerGrab( > Display* , > unsigned int , > Cursor , > Time >); > >extern int XChangeGC( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XChangeKeyboardControl( > Display* , > unsigned long , > XKeyboardControl* >); > >extern int XChangeKeyboardMapping( > Display* , > int , > int , > KeySym* , > int >); > >extern int XChangePointerControl( > Display* , > int , > int , > int , > int , > int >); > >extern int XChangeProperty( > Display* , > Window , > Atom , > Atom , > int , > int , > const unsigned char* , > int >); > >extern int XChangeSaveSet( > Display* , > Window , > int >); > >extern int XChangeWindowAttributes( > Display* , > Window , > unsigned long , > XSetWindowAttributes* >); > >extern int XCheckIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XCheckMaskEvent( > Display* , > long , > XEvent* >); > >extern int XCheckTypedEvent( > Display* , > int , > XEvent* >); > >extern int XCheckTypedWindowEvent( > Display* , > Window , > int , > XEvent* >); > >extern int XCheckWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XCirculateSubwindows( > Display* , > Window , > int >); > >extern int XCirculateSubwindowsDown( > Display* , > Window >); > >extern int XCirculateSubwindowsUp( > Display* , > Window >); > >extern int XClearArea( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > int >); > >extern int XClearWindow( > Display* , > Window >); > >extern int XCloseDisplay( > Display* >); > >extern int XConfigureWindow( > Display* , > Window , > unsigned int , > XWindowChanges* >); > >extern int XConnectionNumber( > Display* >); > >extern int XConvertSelection( > Display* , > Atom , > Atom , > Atom , > Window , > Time >); > >extern int XCopyArea( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XCopyGC( > Display* , > GC , > unsigned long , > GC >); > >extern int XCopyPlane( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int , > unsigned long >); > >extern int XDefaultDepth( > Display* , > int >); > >extern int XDefaultDepthOfScreen( > Screen* >); > >extern int XDefaultScreen( > Display* >); > >extern int XDefineCursor( > Display* , > Window , > Cursor >); > >extern int XDeleteProperty( > Display* , > Window , > Atom >); > >extern int XDestroyWindow( > Display* , > Window >); > >extern int XDestroySubwindows( > Display* , > Window >); > >extern int XDoesBackingStore( > Screen* >); > >extern int XDoesSaveUnders( > Screen* >); > >extern int XDisableAccessControl( > Display* >); > > >extern int XDisplayCells( > Display* , > int >); > >extern int XDisplayHeight( > Display* , > int >); > >extern int XDisplayHeightMM( > Display* , > int >); > >extern int XDisplayKeycodes( > Display* , > int* , > int* >); > >extern int XDisplayPlanes( > Display* , > int >); > >extern int XDisplayWidth( > Display* , > int >); > >extern int XDisplayWidthMM( > Display* , > int >); > >extern int XDrawArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XDrawArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XDrawImageString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawImageString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawLine( > Display* , > Drawable , > GC , > int , > int , > int , > int >); > >extern int XDrawLines( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawPoint( > Display* , > Drawable , > GC , > int , > int >); > >extern int XDrawPoints( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XDrawRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XDrawSegments( > Display* , > Drawable , > GC , > XSegment* , > int >); > >extern int XDrawString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawText( > Display* , > Drawable , > GC , > int , > int , > XTextItem* , > int >); > >extern int XDrawText16( > Display* , > Drawable , > GC , > int , > int , > XTextItem16* , > int >); > >extern int XEnableAccessControl( > Display* >); > >extern int XEventsQueued( > Display* , > int >); > >extern int XFetchName( > Display* , > Window , > char** >); > >extern int XFillArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XFillArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XFillPolygon( > Display* , > Drawable , > GC , > XPoint* , > int , > int , > int >); > >extern int XFillRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XFillRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XFlush( > Display* >); > >extern int XForceScreenSaver( > Display* , > int >); > >extern int XFree( > void* >); > >extern int XFreeColormap( > Display* , > Colormap >); > >extern int XFreeColors( > Display* , > Colormap , > unsigned long* , > int , > unsigned long >); > >extern int XFreeCursor( > Display* , > Cursor >); > >extern int XFreeExtensionList( > char** >); > >extern int XFreeFont( > Display* , > XFontStruct* >); > >extern int XFreeFontInfo( > char** , > XFontStruct* , > int >); > >extern int XFreeFontNames( > char** >); > >extern int XFreeFontPath( > char** >); > >extern int XFreeGC( > Display* , > GC >); > >extern int XFreeModifiermap( > XModifierKeymap* >); > >extern int XFreePixmap( > Display* , > Pixmap >); > >extern int XGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > unsigned int , > unsigned int , > int , > int , > int* , > int* , > int* , > int* >); > >extern int XGetErrorDatabaseText( > Display* , > const char* , > const char* , > const char* , > char* , > int >); > >extern int XGetErrorText( > Display* , > int , > char* , > int >); > >extern int XGetFontProperty( > XFontStruct* , > Atom , > unsigned long* >); > >extern int XGetGCValues( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XGetGeometry( > Display* , > Drawable , > Window* , > int* , > int* , > unsigned int* , > unsigned int* , > unsigned int* , > unsigned int* >); > >extern int XGetIconName( > Display* , > Window , > char** >); > >extern int XGetInputFocus( > Display* , > Window* , > int* >); > >extern int XGetKeyboardControl( > Display* , > XKeyboardState* >); > >extern int XGetPointerControl( > Display* , > int* , > int* , > int* >); > >extern int XGetPointerMapping( > Display* , > unsigned char* , > int >); > >extern int XGetScreenSaver( > Display* , > int* , > int* , > int* , > int* >); > >extern int XGetTransientForHint( > Display* , > Window , > Window* >); > >extern int XGetWindowProperty( > Display* , > Window , > Atom , > long , > long , > int , > Atom , > Atom* , > int* , > unsigned long* , > unsigned long* , > unsigned char** >); > >extern int XGetWindowAttributes( > Display* , > Window , > XWindowAttributes* >); > >extern int XGrabButton( > Display* , > unsigned int , > unsigned int , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor >); > >extern int XGrabKey( > Display* , > int , > unsigned int , > Window , > int , > int , > int >); > >extern int XGrabKeyboard( > Display* , > Window , > int , > int , > int , > Time >); > >extern int XGrabPointer( > Display* , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor , > Time >); > >extern int XGrabServer( > Display* >); > >extern int XHeightMMOfScreen( > Screen* >); > >extern int XHeightOfScreen( > Screen* >); > >extern int XIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XImageByteOrder( > Display* >); > >extern int XInstallColormap( > Display* , > Colormap >); > >extern KeyCode XKeysymToKeycode( > Display* , > KeySym >); > >extern int XKillClient( > Display* , > XID >); > >extern int XLookupColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XLowerWindow( > Display* , > Window >); > >extern int XMapRaised( > Display* , > Window >); > >extern int XMapSubwindows( > Display* , > Window >); > >extern int XMapWindow( > Display* , > Window >); > >extern int XMaskEvent( > Display* , > long , > XEvent* >); > >extern int XMaxCmapsOfScreen( > Screen* >); > >extern int XMinCmapsOfScreen( > Screen* >); > >extern int XMoveResizeWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int >); > >extern int XMoveWindow( > Display* , > Window , > int , > int >); > >extern int XNextEvent( > Display* , > XEvent* >); > >extern int XNoOp( > Display* >); > >extern int XParseColor( > Display* , > Colormap , > const char* , > XColor* >); > >extern int XParseGeometry( > const char* , > int* , > int* , > unsigned int* , > unsigned int* >); > >extern int XPeekEvent( > Display* , > XEvent* >); > >extern int XPeekIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XPending( > Display* >); > >extern int XPlanesOfScreen( > Screen* >); > >extern int XProtocolRevision( > Display* >); > >extern int XProtocolVersion( > Display* >); > > >extern int XPutBackEvent( > Display* , > XEvent* >); > >extern int XPutImage( > Display* , > Drawable , > GC , > XImage* , > int , > int , > int , > int , > unsigned int , > unsigned int >); > >extern int XQLength( > Display* >); > >extern int XQueryBestCursor( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestSize( > Display* , > int , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestStipple( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestTile( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryColor( > Display* , > Colormap , > XColor* >); > >extern int XQueryColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XQueryExtension( > Display* , > const char* , > int* , > int* , > int* >); > >extern int XQueryKeymap( > Display* , > char [32] >); > >extern int XQueryPointer( > Display* , > Window , > Window* , > Window* , > int* , > int* , > int* , > int* , > unsigned int* >); > >extern int XQueryTextExtents( > Display* , > XID , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTextExtents16( > Display* , > XID , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTree( > Display* , > Window , > Window* , > Window* , > Window** , > unsigned int* >); > >extern int XRaiseWindow( > Display* , > Window >); > >extern int XReadBitmapFile( > Display* , > Drawable , > const char* , > unsigned int* , > unsigned int* , > Pixmap* , > int* , > int* >); > >extern int XReadBitmapFileData( > const char* , > unsigned int* , > unsigned int* , > unsigned char** , > int* , > int* >); > >extern int XRebindKeysym( > Display* , > KeySym , > KeySym* , > int , > const unsigned char* , > int >); > >extern int XRecolorCursor( > Display* , > Cursor , > XColor* , > XColor* >); > >extern int XRefreshKeyboardMapping( > XMappingEvent* >); > >extern int XRemoveFromSaveSet( > Display* , > Window >); > >extern int XRemoveHost( > Display* , > XHostAddress* >); > >extern int XRemoveHosts( > Display* , > XHostAddress* , > int >); > >extern int XReparentWindow( > Display* , > Window , > Window , > int , > int >); > >extern int XResetScreenSaver( > Display* >); > >extern int XResizeWindow( > Display* , > Window , > unsigned int , > unsigned int >); > >extern int XRestackWindows( > Display* , > Window* , > int >); > >extern int XRotateBuffers( > Display* , > int >); > >extern int XRotateWindowProperties( > Display* , > Window , > Atom* , > int , > int >); > >extern int XScreenCount( > Display* >); > >extern int XSelectInput( > Display* , > Window , > long >); > >extern int XSendEvent( > Display* , > Window , > int , > long , > XEvent* >); > >extern int XSetAccessControl( > Display* , > int >); > >extern int XSetArcMode( > Display* , > GC , > int >); > >extern int XSetBackground( > Display* , > GC , > unsigned long >); > >extern int XSetClipMask( > Display* , > GC , > Pixmap >); > >extern int XSetClipOrigin( > Display* , > GC , > int , > int >); > >extern int XSetClipRectangles( > Display* , > GC , > int , > int , > XRectangle* , > int , > int >); > >extern int XSetCloseDownMode( > Display* , > int >); > >extern int XSetCommand( > Display* , > Window , > char** , > int >); > >extern int XSetDashes( > Display* , > GC , > int , > const char* , > int >); > >extern int XSetFillRule( > Display* , > GC , > int >); > >extern int XSetFillStyle( > Display* , > GC , > int >); > >extern int XSetFont( > Display* , > GC , > Font >); > >extern int XSetFontPath( > Display* , > char** , > int >); > >extern int XSetForeground( > Display* , > GC , > unsigned long >); > >extern int XSetFunction( > Display* , > GC , > int >); > >extern int XSetGraphicsExposures( > Display* , > GC , > int >); > >extern int XSetIconName( > Display* , > Window , > const char* >); > >extern int XSetInputFocus( > Display* , > Window , > int , > Time >); > >extern int XSetLineAttributes( > Display* , > GC , > unsigned int , > int , > int , > int >); > >extern int XSetModifierMapping( > Display* , > XModifierKeymap* >); > >extern int XSetPlaneMask( > Display* , > GC , > unsigned long >); > >extern int XSetPointerMapping( > Display* , > const unsigned char* , > int >); > >extern int XSetScreenSaver( > Display* , > int , > int , > int , > int >); > >extern int XSetSelectionOwner( > Display* , > Atom , > Window , > Time >); > >extern int XSetState( > Display* , > GC , > unsigned long , > unsigned long , > int , > unsigned long >); > >extern int XSetStipple( > Display* , > GC , > Pixmap >); > >extern int XSetSubwindowMode( > Display* , > GC , > int >); > >extern int XSetTSOrigin( > Display* , > GC , > int , > int >); > >extern int XSetTile( > Display* , > GC , > Pixmap >); > >extern int XSetWindowBackground( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBackgroundPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorder( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBorderPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorderWidth( > Display* , > Window , > unsigned int >); > >extern int XSetWindowColormap( > Display* , > Window , > Colormap >); > >extern int XStoreBuffer( > Display* , > const char* , > int , > int >); > >extern int XStoreBytes( > Display* , > const char* , > int >); > >extern int XStoreColor( > Display* , > Colormap , > XColor* >); > >extern int XStoreColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XStoreName( > Display* , > Window , > const char* >); > >extern int XStoreNamedColor( > Display* , > Colormap , > const char* , > unsigned long , > int >); > >extern int XSync( > Display* , > int >); > >extern int XTextExtents( > XFontStruct* , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextExtents16( > XFontStruct* , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextWidth( > XFontStruct* , > const char* , > int >); > >extern int XTextWidth16( > XFontStruct* , > const XChar2b* , > int >); > >extern int XTranslateCoordinates( > Display* , > Window , > Window , > int , > int , > int* , > int* , > Window* >); > >extern int XUndefineCursor( > Display* , > Window >); > >extern int XUngrabButton( > Display* , > unsigned int , > unsigned int , > Window >); > >extern int XUngrabKey( > Display* , > int , > unsigned int , > Window >); > >extern int XUngrabKeyboard( > Display* , > Time >); > >extern int XUngrabPointer( > Display* , > Time >); > >extern int XUngrabServer( > Display* >); > >extern int XUninstallColormap( > Display* , > Colormap >); > >extern int XUnloadFont( > Display* , > Font >); > >extern int XUnmapSubwindows( > Display* , > Window >); > >extern int XUnmapWindow( > Display* , > Window >); > >extern int XVendorRelease( > Display* >); > >extern int XWarpPointer( > Display* , > Window , > Window , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XWidthMMOfScreen( > Screen* >); > >extern int XWidthOfScreen( > Screen* >); > >extern int XWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XWriteBitmapFile( > Display* , > const char* , > Pixmap , > unsigned int , > unsigned int , > int , > int >); > >extern int XSupportsLocale (void); > >extern char *XSetLocaleModifiers( > const char* >); > >extern XOM XOpenOM( > Display* , > struct _XrmHashBucketRec* , > const char* , > const char* >); > >extern int XCloseOM( > XOM >); > >extern char *XSetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfOM( > XOM >); > >extern char *XLocaleOfOM( > XOM >); > >extern XOC XCreateOC( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyOC( > XOC >); > >extern XOM XOMOfOC( > XOC >); > >extern char *XSetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern XFontSet XCreateFontSet( > Display* , > const char* , > char*** , > int* , > char** >); > >extern void XFreeFontSet( > Display* , > XFontSet >); > >extern int XFontsOfFontSet( > XFontSet , > XFontStruct*** , > char*** >); > >extern char *XBaseFontNameListOfFontSet( > XFontSet >); > >extern char *XLocaleOfFontSet( > XFontSet >); > >extern int XContextDependentDrawing( > XFontSet >); > >extern int XDirectionalDependentDrawing( > XFontSet >); > >extern int XContextualDrawing( > XFontSet >); > >extern XFontSetExtents *XExtentsOfFontSet( > XFontSet >); > >extern int XmbTextEscapement( > XFontSet , > const char* , > int >); > >extern int XwcTextEscapement( > XFontSet , > const wchar_t* , > int >); > >extern int Xutf8TextEscapement( > XFontSet , > const char* , > int >); > >extern int XmbTextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XwcTextExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XmbTextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int XwcTextPerCharExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern void XmbDrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XwcDrawText( > Display* , > Drawable , > GC , > int , > int , > XwcTextItem* , > int >); > >extern void Xutf8DrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XmbDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XmbDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern XIM XOpenIM( > Display* , > struct _XrmHashBucketRec* , > char* , > char* >); > >extern int XCloseIM( > XIM >); > >extern char *XGetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XSetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfIM( > XIM >); > >extern char *XLocaleOfIM( > XIM >); > >extern XIC XCreateIC( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyIC( > XIC >); > >extern void XSetICFocus( > XIC >); > >extern void XUnsetICFocus( > XIC >); > >extern wchar_t *XwcResetIC( > XIC >); > >extern char *XmbResetIC( > XIC >); > >extern char *Xutf8ResetIC( > XIC >); > >extern char *XSetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern XIM XIMOfIC( > XIC >); > >extern int XFilterEvent( > XEvent* , > Window >); > >extern int XmbLookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern int XwcLookupString( > XIC , > XKeyPressedEvent* , > wchar_t* , > int , > KeySym* , > int* >); > >extern int Xutf8LookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern XVaNestedList XVaCreateNestedList( > int , ... >) __attribute__ ((__sentinel__(0))); > > > >extern int XRegisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >extern int XUnregisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >typedef void (*XConnectionWatchProc)( > Display* , > XPointer , > int , > int , > XPointer* >); > > >extern int XInternalConnectionNumbers( > Display* , > int** , > int* >); > >extern void XProcessInternalConnection( > Display* , > int >); > >extern int XAddConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XRemoveConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XSetAuthorization( > char * , > int , > char * , > int >); > >extern int _Xmbtowc( > wchar_t * , > > > > > char * , > int > >); > >extern int _Xwctomb( > char * , > wchar_t >); > > ># 14 "virtual.c" 2 ># 1 "/usr/include/X11/Xutil.h" 1 3 4 ># 56 "/usr/include/X11/Xutil.h" 3 4 ># 1 "/usr/include/X11/keysym.h" 1 3 4 ># 75 "/usr/include/X11/keysym.h" 3 4 ># 1 "/usr/include/X11/keysymdef.h" 1 3 4 ># 76 "/usr/include/X11/keysym.h" 2 3 4 ># 57 "/usr/include/X11/Xutil.h" 2 3 4 ># 75 "/usr/include/X11/Xutil.h" 3 4 >typedef struct { > long flags; > int x, y; > int width, height; > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; > struct { > int x; > int y; > } min_aspect, max_aspect; > int base_width, base_height; > int win_gravity; >} XSizeHints; ># 113 "/usr/include/X11/Xutil.h" 3 4 >typedef struct { > long flags; > int input; > > int initial_state; > Pixmap icon_pixmap; > Window icon_window; > int icon_x, icon_y; > Pixmap icon_mask; > XID window_group; > >} XWMHints; ># 157 "/usr/include/X11/Xutil.h" 3 4 >typedef struct { > unsigned char *value; > Atom encoding; > int format; > unsigned long nitems; >} XTextProperty; > > > > > >typedef enum { > XStringStyle, > XCompoundTextStyle, > XTextStyle, > XStdICCTextStyle, > > XUTF8StringStyle >} XICCEncodingStyle; > >typedef struct { > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; >} XIconSize; > >typedef struct { > char *res_name; > char *res_class; >} XClassHint; ># 225 "/usr/include/X11/Xutil.h" 3 4 >typedef struct _XComposeStatus { > XPointer compose_ptr; > int chars_matched; >} XComposeStatus; ># 267 "/usr/include/X11/Xutil.h" 3 4 >typedef struct _XRegion *Region; ># 281 "/usr/include/X11/Xutil.h" 3 4 >typedef struct { > Visual *visual; > VisualID visualid; > int screen; > int depth; > > > > int class; > > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > int colormap_size; > int bits_per_rgb; >} XVisualInfo; ># 314 "/usr/include/X11/Xutil.h" 3 4 >typedef struct { > Colormap colormap; > unsigned long red_max; > unsigned long red_mult; > unsigned long green_max; > unsigned long green_mult; > unsigned long blue_max; > unsigned long blue_mult; > unsigned long base_pixel; > VisualID visualid; > XID killid; >} XStandardColormap; ># 351 "/usr/include/X11/Xutil.h" 3 4 >typedef int XContext; > > > > > > > > >extern XClassHint *XAllocClassHint ( > void >); > >extern XIconSize *XAllocIconSize ( > void >); > >extern XSizeHints *XAllocSizeHints ( > void >); > >extern XStandardColormap *XAllocStandardColormap ( > void >); > >extern XWMHints *XAllocWMHints ( > void >); > >extern int XClipBox( > Region , > XRectangle* >); > >extern Region XCreateRegion( > void >); > >extern const char *XDefaultString (void); > >extern int XDeleteContext( > Display* , > XID , > XContext >); > >extern int XDestroyRegion( > Region >); > >extern int XEmptyRegion( > Region >); > >extern int XEqualRegion( > Region , > Region >); > >extern int XFindContext( > Display* , > XID , > XContext , > XPointer* >); > >extern int XGetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XGetIconSizes( > Display* , > Window , > XIconSize** , > int* >); > >extern int XGetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern int XGetRGBColormaps( > Display* , > Window , > XStandardColormap** , > int* , > Atom >); > >extern int XGetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XGetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XGetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern XVisualInfo *XGetVisualInfo( > Display* , > long , > XVisualInfo* , > int* >); > >extern int XGetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern XWMHints *XGetWMHints( > Display* , > Window >); > >extern int XGetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMNormalHints( > Display* , > Window , > XSizeHints* , > long* >); > >extern int XGetWMSizeHints( > Display* , > Window , > XSizeHints* , > long* , > Atom >); > >extern int XGetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XIntersectRegion( > Region , > Region , > Region >); > >extern void XConvertCase( > KeySym , > KeySym* , > KeySym* >); > >extern int XLookupString( > XKeyEvent* , > char* , > int , > KeySym* , > XComposeStatus* >); > >extern int XMatchVisualInfo( > Display* , > int , > int , > int , > XVisualInfo* >); > >extern int XOffsetRegion( > Region , > int , > int >); > >extern int XPointInRegion( > Region , > int , > int >); > >extern Region XPolygonRegion( > XPoint* , > int , > int >); > >extern int XRectInRegion( > Region , > int , > int , > unsigned int , > unsigned int >); > >extern int XSaveContext( > Display* , > XID , > XContext , > const char* >); > >extern int XSetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XSetIconSizes( > Display* , > Window , > XIconSize* , > int >); > >extern int XSetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetRGBColormaps( > Display* , > Window , > XStandardColormap* , > int , > Atom >); > >extern int XSetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetStandardProperties( > Display* , > Window , > const char* , > const char* , > Pixmap , > char** , > int , > XSizeHints* >); > >extern void XSetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern void XSetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern int XSetWMHints( > Display* , > Window , > XWMHints* >); > >extern void XSetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetWMProperties( > Display* , > Window , > XTextProperty* , > XTextProperty* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XmbSetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void Xutf8SetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XSetWMSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetRegion( > Display* , > GC , > Region >); > >extern void XSetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XSetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XShrinkRegion( > Region , > int , > int >); > >extern int XStringListToTextProperty( > char** , > int , > XTextProperty* >); > >extern int XSubtractRegion( > Region , > Region , > Region >); > >extern int XmbTextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int XwcTextListToTextProperty( > Display* display, > wchar_t** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int Xutf8TextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern void XwcFreeStringList( > wchar_t** list >); > >extern int XTextPropertyToStringList( > XTextProperty* , > char*** , > int* >); > >extern int XmbTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XwcTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > wchar_t*** list_return, > int* count_return >); > >extern int Xutf8TextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XUnionRectWithRegion( > XRectangle* , > Region , > Region >); > >extern int XUnionRegion( > Region , > Region , > Region >); > >extern int XWMGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > XSizeHints* , > int* , > int* , > int* , > int* , > int* >); > >extern int XXorRegion( > Region , > Region , > Region >); > > ># 15 "virtual.c" 2 ># 1 "/usr/include/X11/keysym.h" 1 3 4 ># 75 "/usr/include/X11/keysym.h" 3 4 ># 1 "/usr/include/X11/keysymdef.h" 1 3 4 ># 76 "/usr/include/X11/keysym.h" 2 3 4 ># 16 "virtual.c" 2 ># 1 "/usr/include/X11/keysymdef.h" 1 3 4 ># 17 "virtual.c" 2 ># 1 "/usr/include/X11/Xatom.h" 1 3 4 ># 18 "virtual.c" 2 > ># 1 "i18n.h" 1 > >#ident "@(#)i18n.h 1.26 93/06/28 SMI" ># 18 "i18n.h" ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 > ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), > _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), > _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), > _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), > _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), > _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), > _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), > _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), > _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), > _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), > _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), > _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__nothrow__)) __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__nothrow__)) __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__nothrow__)) __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__)); >extern int isalpha (int) __attribute__ ((__nothrow__)); >extern int iscntrl (int) __attribute__ ((__nothrow__)); >extern int isdigit (int) __attribute__ ((__nothrow__)); >extern int islower (int) __attribute__ ((__nothrow__)); >extern int isgraph (int) __attribute__ ((__nothrow__)); >extern int isprint (int) __attribute__ ((__nothrow__)); >extern int ispunct (int) __attribute__ ((__nothrow__)); >extern int isspace (int) __attribute__ ((__nothrow__)); >extern int isupper (int) __attribute__ ((__nothrow__)); >extern int isxdigit (int) __attribute__ ((__nothrow__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__)); > > ># 142 "/usr/include/ctype.h" 3 4 >extern int isascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__)); >extern int _tolower (int) __attribute__ ((__nothrow__)); ># 190 "/usr/include/ctype.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline int >__attribute__ ((__nothrow__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 323 "/usr/include/ctype.h" 3 4 > ># 19 "i18n.h" 2 ># 80 "i18n.h" >typedef char Text; ># 96 "i18n.h" >typedef enum { TitleFont, > TextFont, > ButtonFont, > IconFont > } DisplayFont; > >typedef enum { FontWidthOp, > FontHeightOp, > FontAscentOp, > FontDescentOp > } FontInfoOp; > >extern void DrawText(); > >extern int FontInfo(); ># 20 "virtual.c" 2 ># 1 "ollocale.h" 1 > >#ident "@(#)ollocale.h 1.10 93/06/28 SMI" ># 19 "ollocale.h" ># 1 "/usr/include/locale.h" 1 3 4 ># 29 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 27 "/usr/include/bits/locale.h" 3 4 >enum >{ > __LC_CTYPE = 0, > __LC_NUMERIC = 1, > __LC_TIME = 2, > __LC_COLLATE = 3, > __LC_MONETARY = 4, > __LC_MESSAGES = 5, > __LC_ALL = 6, > __LC_PAPER = 7, > __LC_NAME = 8, > __LC_ADDRESS = 9, > __LC_TELEPHONE = 10, > __LC_MEASUREMENT = 11, > __LC_IDENTIFICATION = 12 >}; ># 31 "/usr/include/locale.h" 2 3 4 > > ># 51 "/usr/include/locale.h" 3 4 > > > >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; ># 114 "/usr/include/locale.h" 3 4 > char __int_p_cs_precedes; > char __int_p_sep_by_space; > char __int_n_cs_precedes; > char __int_n_sep_by_space; > char __int_p_sign_posn; > char __int_n_sign_posn; > >}; > > > >extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__)); > > >extern struct lconv *localeconv (void) __attribute__ ((__nothrow__)); > > ># 208 "/usr/include/locale.h" 3 4 > ># 20 "ollocale.h" 2 ># 40 "ollocale.h" >typedef struct _OLLCItem { > char *locale; > int posixCategory; > char *envName; >} OLLCItem; ># 21 "virtual.c" 2 ># 1 "mem.h" 1 > >#ident "@(#)mem.h 26.15 93/06/28 SMI" ># 17 "mem.h" >extern void *MemAlloc(); >extern void *MemAllocN(); >extern void *MemCalloc(); >extern void MemFree(); >extern void *MemRealloc(); ># 22 "virtual.c" 2 ># 1 "olwm.h" 1 ># 11 "olwm.h" >#ident "@(#)olwm.h 1.5 olvwm version 07 Jan 1994" ># 54 "olwm.h" >typedef enum { WkspDefault, WkspColor, WkspPixmap } WorkspaceStyle; > > >typedef enum { AlongTop, AlongBottom, AlongRight, AlongLeft, > AlongTopRL, AlongBottomRL, AlongRightBT, AlongLeftBT > } IconPreference; ># 79 "olwm.h" >extern char *ProgramName; > > >extern Pixmap pixIcon; >extern Pixmap pixmapGray; >extern Pixmap pixGray; > > >extern int ExitOLWM(); >extern void *GetWindowProperty(); > > > > > >extern struct _client *StateNew(); >extern void ReparentTree(); >extern void StateNormIcon(); >extern void StateIconNorm(); >extern void StateWithdrawn(); > > >extern struct _winroot *MakeRoot(); > > >extern Window NoFocusWin; >extern struct _wingeneric *NoFocusWinInfo; > >extern struct _wingeneric *MakeNoFocus(); >extern void NoFocusTakeFocus(); >extern void NoFocusInit(); >extern int NoFocusEventBeep(); > > >extern struct _List *ActiveClientList; > >extern struct _client *ClientCreate(); >extern Window ClientPane(); >typedef struct _clientinboxclose { > Display *dpy; > int screen; > int (*func)(); > short bx, by, bw, bh; > Time timestamp; >} ClientInBoxClosure; >extern void *ClientInBox(); >extern void ClientInhibitFocus(); >extern void ClientSetFocus(); >extern void ClientSetCurrent(); >extern struct _client *ClientGetLastCurrent(); >extern void ClientActivate(); >extern void ClientFocusTopmost(); > > >extern struct _winpaneframe *MakeFrame(); >extern void FrameSetPosFromPane(); >extern void FrameFullSize(); >extern void FrameNormSize(); >extern void FrameNewFooter(); >extern void FrameNewHeader(); >extern void FrameSetBusy(); >extern void FrameWarpPointer(); >extern void FrameUnwarpPointer(); > > >extern int GFrameFocus(); >extern int GFrameSelect(); >extern int GFrameSetConfigFunc(); >extern void GFrameSetStack(); >extern void GFrameSetConfig(); >extern int GFrameEventButtonPress(); >extern int GFrameEventMotionNotify(); >extern int GFrameEventButtonRelease(); >extern int GFrameEventFocus(); >extern int GFrameEventEnterNotify(); > > >extern void IconInit(); >extern struct _winiconframe *MakeIcon(); >extern void IconChangeName(); >extern void DrawIconToWindowLines(); >extern void IconShow(); >extern void IconHide(); >extern void IconSetPos(); >extern void IconUnparent(); > > >extern struct _winiconpane *MakeIconPane(); > > >extern struct _winpane *MakePane(); > > >extern struct _winmenu *MakeMenu(); > > >extern struct _wingeneric *MakeColormap(); >extern void TrackSubwindows(); >extern void UnTrackSubwindows(); >extern void ColormapInhibit(); >extern void InstallColormap(); >extern void InstallPointerColormap(); >extern void UnlockColormap(); >extern void ColorWindowCrossing(); >extern struct _wingeneric *ColormapUnhook(); >extern void ColormapTransmogrify(); > > >extern int IsSelected(); >extern struct _client *EnumSelections(); >extern Time TimeFresh(); >extern int AddSelection(); >extern int RemoveSelection(); >extern int ToggleSelection(); >extern void ClearSelections(); >extern void SelectionResponse(); > > >extern struct _winpushpin *MakePushPin(); >extern struct _winbutton *MakeButton(); >extern struct _winresize *MakeResize(); > > >extern void WinCallFocus(); >extern void WinRedrawAllWindows(); >extern int WinShowHelp(); > > >extern int WinEventExpose(); >extern int WinNewPosFunc(); >extern int WinNewConfigFunc(); >extern int WinSetConfigFunc(); > > >extern void UserMoveWindows(); >extern void UserResizeWin(); >extern void TraceRootBox(); > > >extern struct _winbusy *MakeBusy(); ># 23 "virtual.c" 2 ># 1 "st.h" 1 > > > > >#ident "@(#)st.h 1.2 olvwm version 25 Nov 1992" ># 18 "st.h" >typedef struct st_table_entry st_table_entry; > >struct st_table_entry { > char *key; > char *record; > st_table_entry *next; >}; > >typedef struct st_table st_table; > >struct st_table { > int (*compare)(); > int (*hash)(); > int num_bins; > int num_entries; > int max_density; > int reorder_flag; > double grow_factor; > st_table_entry **bins; >}; > > > >enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE}; > >int st_delete(), st_insert(), st_foreach(), st_free_table(); >int st_lookup(), st_find_or_add(), st_add_direct(); >st_table *st_init_table(), *st_init_table_with_params(); ># 65 "st.h" >int st_strhash(); ># 24 "virtual.c" 2 ># 1 "globals.h" 1 ># 10 "globals.h" >#ident "@(#)globals.h 1.6 olvwm version 07 Jan 1994" ># 19 "globals.h" ># 1 "list.h" 1 ># 11 "list.h" >#ident "@(#)list.h 26.6 91/09/14 SMI" > > >typedef struct _List { > void *value; > struct _List *next; > } List; > > > >extern void ListInit(); > > > > >extern List *ListCons(); > >extern int ListCount(); > > > >extern void ListDestroy(); > > > >extern void ListDestroyCell(); > > > > >extern List *ListDestroyCellByValue(); > > > > >extern void *ListApply(); > > > > > >extern void *ListEnum(); > > > > >extern int ListIsAMebmer(); > > > >extern void ListReverse(); ># 20 "globals.h" 2 > >typedef struct { > unsigned int modmask; > KeyCode keycode; >} KeySpec; > >typedef enum { BeepAlways, BeepNever, BeepNotices } BeepStatus; > >typedef enum { KbdSunView, KbdBasic, KbdFull } MouselessMode; > >typedef enum { GridNone, GridInvisible, GridVisible } VirtualGridType; > >typedef enum { UseNone, UseVDM, UseAll } ImageType; > >typedef enum { SortYounger, SortAlpha, SortYoungerAll, SortAlphaAll } SortType; > >typedef struct _globalResourceVariables { > char *WindowColor; > char *ForegroundColor; > char *BackgroundColor; > char *BorderColor; > WorkspaceStyle WorkspaceStyle; > char *WorkspaceColor; > char *WorkspaceBitmapFile; > char *WorkspaceBitmapFg; > char *WorkspaceBitmapBg; > int ReverseVideo; > int PaintWorkspace; > int PointerWorkspace; > int F3dUsed; > int F3dFrames; > int F3dResize; > > > > > > > XFontStruct *TitleFontInfo; > XFontStruct *TextFontInfo; > XFontStruct *ButtonFontInfo; > XFontStruct *IconFontInfo; > > XFontStruct *GlyphFontInfo; > Cursor BasicPointer; > Cursor MovePointer; > Cursor BusyPointer; > Cursor IconPointer; > Cursor ResizePointer; > Cursor MenuPointer; > Cursor QuestionPointer; > Cursor TargetPointer; > Cursor PanPointer; > int FocusFollowsMouse; > Text *DefaultWinName; > int SaveWorkspaceTimeout; > char *SaveWorkspaceCmd; > int FlashTime; > int FShowMenuButtons; > int FShowPinnedMenuButtons; > IconPreference IconPlacement; > int FSnapToGrid; > int FocusLenience; > int DragWindow; > int AutoRaise; > int AutoRaiseDelay; > int PopupJumpCursor; > int ColorLocked; > int PPositionCompat; > int RefreshRecursively; > BeepStatus Beep; > int EdgeThreshold; > int DragRightDistance; > int MoveThreshold; > int ClickMoveThreshold; > int DoubleClickTime; > int RubberBandThickness; > KeySpec FrontKey; > KeySpec HelpKey; > KeySpec OpenKey; > KeySpec ConfirmKey; > KeySpec CancelKey; > KeySpec ColorLockKey; > KeySpec ColorUnlockKey; > List *Minimals; > int MouseChordMenu; > int MouseChordTimeout; > int SingleScreen; > int AutoReReadMenuFile; > int KeepTransientsAbove; > int TransientsSaveUnder; > int TransientsTitled; > int SelectWindows; > int ShowMoveGeometry; > int ShowResizeGeometry; > int InvertFocusHighlighting; > int RunSlaveProcess; > int SelectToggleStacking; > int FlashCount; > char *DefaultIconImage; > char *DefaultIconMask; > int ServerGrabs; > int IconFlashCount; > int SelectDisplaysMenu; > int SelectionFuzz; > int AutoInputFocus; > int AutoColorFocus; > int ColorTracksInputFocus; > int IconFlashOnTime; > int IconFlashOffTime; > MouselessMode Mouseless; > int RaiseOnActivate; > int RestackWhenWithdraw; > int BoldFontEmulation; > int RaiseOnMove; > int RaiseOnResize; > int StartDSDM; > int WindowCacheSize; > int MenuAccelerators; > int WindowMenuAccelerators; > > OLLCItem LC[5]; > char *CharacterSet; ># 151 "globals.h" > int PrintOrphans; > int PrintAll; > int Synchronize; > int PrintWarnings; > > > > char *VirtualDesktop; > int VDMScale; > int AllowMoveIntoDesktop; > int ArrowInRoot; > char *VirtualGeometry; > char *VirtualFontName; > char *VirtualBackgroundMap; > char *VirtualBackgroundColor; > int MaxMapColors; > char *VirtualPixmapColor; > char *VirtualIconGeometry; > char *VirtualForegroundColor; > char *VirtualFontColor; > int VirtualIconic; > List *StickyList; > int UseRelativePosition; > int GrabVirtualKeys; > VirtualGridType VirtualGrid; > char *VirtualGridColor; > int VirtualRaiseVDM; > int StickyIcons; > int StickyIconScreen; > int VirtualMoveGroups; > int VirtualReRead; > int AllowSyntheticEvents; > int SyntheticEvents; > List *NoVirtualKey; > List *NoVirtualLKey; > List *NoVirtualFKey; > List *NoVirtualRKey; > int VirtualDrawSticky; > int ParentScreenPopup; > > > > > int AutoShowRootMenu; > int AutoRootMenuX; > int AutoRootMenuY; > char *InputFocusColor; > int FullSizeZoomX; > List *NoDecors; > char *ResizePosition; > ImageType UseImageMenu; > SortType VirtualMenuSort; > SortType VirtualDirSort; > int FreeIconSlots; > int IconGridHeight; > int IconGridWidth; > int UniqueIconSlots; > > > char *SpecialResizePointerData; > int SpecialResizePointers; > Cursor CornerPointers[4]; > Cursor ResizePointers[4]; > > Cursor CloseUpPointer; > Cursor CloseDownPointer; > char *BasicPointerData; > char *MovePointerData; > char *BusyPointerData; > char *IconPointerData; > char *ResizePointerData; > char *MenuPointerData; > char *QuestionPointerData; > char *TargetPointerData; > char *PanPointerData; > char *CloseUpPointerData; > char *CloseDownPointerData; >} GlobalResourceVariables; > >extern GlobalResourceVariables GRV; ># 25 "virtual.c" 2 ># 1 "win.h" 1 ># 11 "win.h" >#ident "@(#)win.h 1.5 olvwm version 07 Jan 1994" ># 20 "win.h" ># 1 "/usr/include/X11/Xresource.h" 1 3 4 ># 68 "/usr/include/X11/Xresource.h" 3 4 > > > > > > > > >extern char *Xpermalloc( > unsigned int >); > > > > > > > >typedef int XrmQuark, *XrmQuarkList; > > >typedef char *XrmString; > > > >extern XrmQuark XrmStringToQuark( > const char* >); > >extern XrmQuark XrmPermStringToQuark( > const char* >); > > >extern XrmString XrmQuarkToString( > XrmQuark >); > >extern XrmQuark XrmUniqueQuark( > void >); ># 119 "/usr/include/X11/Xresource.h" 3 4 >typedef enum {XrmBindTightly, XrmBindLoosely} XrmBinding, *XrmBindingList; > >extern void XrmStringToQuarkList( > const char* , > XrmQuarkList >); > >extern void XrmStringToBindingQuarkList( > const char* , > XrmBindingList , > XrmQuarkList >); > > > > > > > >typedef XrmQuark XrmName; >typedef XrmQuarkList XrmNameList; > > > > >typedef XrmQuark XrmClass; >typedef XrmQuarkList XrmClassList; ># 158 "/usr/include/X11/Xresource.h" 3 4 >typedef XrmQuark XrmRepresentation; > > > >typedef struct { > unsigned int size; > XPointer addr; >} XrmValue, *XrmValuePtr; ># 174 "/usr/include/X11/Xresource.h" 3 4 >typedef struct _XrmHashBucketRec *XrmHashBucket; >typedef XrmHashBucket *XrmHashTable; >typedef XrmHashTable XrmSearchList[]; >typedef struct _XrmHashBucketRec *XrmDatabase; > > >extern void XrmDestroyDatabase( > XrmDatabase >); > >extern void XrmQPutResource( > XrmDatabase* , > XrmBindingList , > XrmQuarkList , > XrmRepresentation , > XrmValue* >); > >extern void XrmPutResource( > XrmDatabase* , > const char* , > const char* , > XrmValue* >); > >extern void XrmQPutStringResource( > XrmDatabase* , > XrmBindingList , > XrmQuarkList , > const char* >); > >extern void XrmPutStringResource( > XrmDatabase* , > const char* , > const char* >); > >extern void XrmPutLineResource( > XrmDatabase* , > const char* >); > >extern int XrmQGetResource( > XrmDatabase , > XrmNameList , > XrmClassList , > XrmRepresentation* , > XrmValue* >); > >extern int XrmGetResource( > XrmDatabase , > const char* , > const char* , > char** , > XrmValue* >); > >extern int XrmQGetSearchList( > XrmDatabase , > XrmNameList , > XrmClassList , > XrmSearchList , > int >); > >extern int XrmQGetSearchResource( > XrmSearchList , > XrmName , > XrmClass , > XrmRepresentation* , > XrmValue* >); ># 257 "/usr/include/X11/Xresource.h" 3 4 >extern void XrmSetDatabase( > Display* , > XrmDatabase >); > >extern XrmDatabase XrmGetDatabase( > Display* >); > > > >extern XrmDatabase XrmGetFileDatabase( > const char* >); > >extern int XrmCombineFileDatabase( > const char* , > XrmDatabase* , > int >); > >extern XrmDatabase XrmGetStringDatabase( > const char* >); > >extern void XrmPutFileDatabase( > XrmDatabase , > const char* >); > >extern void XrmMergeDatabases( > XrmDatabase , > XrmDatabase* >); > >extern void XrmCombineDatabase( > XrmDatabase , > XrmDatabase* , > int >); > > > > >extern int XrmEnumerateDatabase( > XrmDatabase , > XrmNameList , > XrmClassList , > int , > int (*)( > XrmDatabase* , > XrmBindingList , > XrmQuarkList , > XrmRepresentation* , > XrmValue* , > XPointer > ) , > XPointer >); > >extern const char *XrmLocaleOfDatabase( > XrmDatabase >); ># 328 "/usr/include/X11/Xresource.h" 3 4 >typedef enum { > XrmoptionNoArg, > XrmoptionIsArg, > XrmoptionStickyArg, > XrmoptionSepArg, > XrmoptionResArg, > XrmoptionSkipArg, > XrmoptionSkipLine, > XrmoptionSkipNArgs > >} XrmOptionKind; > >typedef struct { > char *option; > char *specifier; > XrmOptionKind argKind; > XPointer value; >} XrmOptionDescRec, *XrmOptionDescList; > > >extern void XrmParseCommand( > XrmDatabase* , > XrmOptionDescList , > int , > const char* , > int* , > char** >); > > ># 21 "win.h" 2 > ># 1 "events.h" 1 ># 11 "events.h" >#ident "@(#)events.h 1.4 olvwm version 07 Jan 1994" ># 23 "events.h" >typedef int (*InterposerFunc)(); > > >extern void EventLoop(); >extern int PropagateEventToParent(); >extern void PropagatePressEventToChild(); >extern Time LastEventTime; >extern int AwaitEvents(); >extern void GrabKeys(); >extern void RefreshKeyGrabs(); >extern void GrabButtons(); >extern void RefreshButtonGrabs(); >extern int UpdateBindings(); >extern void InitEvents(); >extern void InitBindings(); > > >extern void InstallInterposer(); >extern void UninstallInterposer(); >extern InterposerFunc InterposerInstalled(); >extern void EnableInterposerDelegation(); > >enum { > DISPOSE_DISPATCH, > DISPOSE_USED, > DISPOSE_DEFER >}; > > >extern KeySym *KbdMap; >extern int MinKeyCode; >extern int MaxKeyCode; >extern int KeySymsPerKeyCode; > > > >enum { > MOD_CONSTRAIN, > MOD_WMGRAB, > MOD_REDUCE, > MOD_INVERT, > MOD_SETDEFAULT, > MOD_IGNORE, > MOD_MASK_COUNT >}; > >extern unsigned int ModMaskMap[MOD_MASK_COUNT]; >extern unsigned int FindModifierMask(); > > >typedef enum { > MATCH_NONE, > MATCH_INCOMPLETE, > MATCH_AMBIG, > MATCH_PREFIX, > MATCH_EXACT >} MouseMatchState; > > >typedef enum { > ACTION_NONE, > ACTION_SELECT, > ACTION_ADJUST, > ACTION_MENU, > ACTION_HELP, > ACTION_STOP, > ACTION_FRONT, > ACTION_OPEN, > ACTION_EXEC_DEFAULT, > ACTION_FOCUS_HELP, > ACTION_SET_DEFAULT, > ACTION_UP, > ACTION_DOWN, > ACTION_LEFT, > ACTION_RIGHT, > ACTION_JUMP_UP, > ACTION_JUMP_DOWN, > ACTION_JUMP_LEFT, > ACTION_JUMP_RIGHT, > ACTION_ROW_START, > ACTION_ROW_END, > ACTION_DATA_START, > ACTION_DATA_END, > ACTION_FIRST_CONTROL, > ACTION_LAST_CONTROL, > ACTION_TOGGLE_PIN, > ACTION_CANCEL, > ACTION_NEXT_ELEMENT, > ACTION_PREVIOUS_ELEMENT, > > > > ACTION_REFRESH, > ACTION_BACK, > ACTION_OPEN_CLOSE, > ACTION_FULL_RESTORE, > ACTION_QUIT, > ACTION_OWNER, > ACTION_MOVE, > ACTION_RESIZE, > ACTION_PROPS, > > > ACTION_UP_V, > ACTION_DOWN_V, > ACTION_LEFT_V, > ACTION_RIGHT_V, > ACTION_UPLEFT_V, > ACTION_UPRIGHT_V, > ACTION_DOWNLEFT_V, > ACTION_DOWNRIGHT_V, > ACTION_HOME_V, > ACTION_UPLEFT, > ACTION_UPRIGHT, > ACTION_DOWNLEFT, > ACTION_DOWNRIGHT, > ACTION_HOME, > ACTION_JUMP_UPLEFT, > ACTION_JUMP_UPRIGHT, > ACTION_JUMP_DOWNLEFT, > ACTION_JUMP_DOWNRIGHT, > ACTION_HALF_UP, > ACTION_HALF_DOWN, > ACTION_HALF_LEFT, > ACTION_HALF_RIGHT, > ACTION_HALF_UPLEFT, > ACTION_HALF_UPRIGHT, > ACTION_HALF_DOWNLEFT, > ACTION_HALF_DOWNRIGHT, > ACTION_GOTO_1, > ACTION_GOTO_2, > ACTION_GOTO_3, > ACTION_GOTO_4, > ACTION_GOTO_5, > ACTION_GOTO_6, > ACTION_GOTO_7, > ACTION_GOTO_8, > ACTION_GOTO_9, > ACTION_GOTO_10, > ACTION_VIRTUAL, > ACTION_STICK >} SemanticAction; > > > >typedef struct { > char *rsrc_name; > char *dflt_binding; > void (*function)(); > SemanticAction action; > unsigned long flags; >} KeyDescriptor; ># 187 "events.h" >typedef struct _keyBinding { > unsigned int modstate; > KeyCode keycode; > KeyDescriptor *desc; >} KeyBinding; > >extern KeyBinding *LookupKeyBinding( ); >extern KeySym ModifierToKeysym(); ># 211 "events.h" >typedef void (*TimeoutFunc)(); >extern void TimeoutRequest(); >extern void TimeoutCancel(); > > > > >extern int mouselessSuspended; ># 23 "win.h" 2 > > >typedef enum { > MENU_FULL, > MENU_LIMITED, > MENU_NONE, > MENU_VDM, > MENU_ROOT, > > > > NUM_MENUS >} MenuIndex; > ># 1 "screen.h" 1 > > > > > > > >#ident "@(#)screen.h 1.4 olvwm version 07 Jan 1994" ># 23 "screen.h" ># 1 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/build/include/olgx/olgx.h" 1 ># 379 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/build/include/olgx/olgx.h" >typedef struct _GC_rec { > GC gc; > short ref_count; > int num_cliprects; > > > unsigned long valuemask; > XGCValues values; > struct _GC_rec * next; > int depth; >} GC_rec; > >typedef struct pixlabel { > Pixmap pixmap; > int width,height; >} Pixlabel; > >typedef struct ximlabel { > XImage *ximage; > int width,height; >} Ximlabel; > >typedef struct underlinelabel { > void *label; > int position; >} Underlinelabel; ># 416 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/build/include/olgx/olgx.h" >typedef struct graphics_info { > Display *dpy; > int scrn; > unsigned int depth; > XFontStruct *glyphfont; > > > > XFontStruct *textfont; > > short three_d; > > > > GC_rec * gc_rec[9]; ># 448 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/build/include/olgx/olgx.h" > Pixmap drawable[3]; > unsigned long pixvals[5]; > > > > > > short button_height; > short endcap_width; > short sb_width, sb_height; > short abbrev_width; > short slider_width, slider_height; > short se_width, se_height; > short mm_width, mm_height; > short base_off ; > short slider_offset ; > short cb_width, cb_height; > short pp_width, pp_height; > short gauge_width,gauge_height ; > short textscbu_width ; > short gauge_endcapOffset ; > > > short numscbu_width; > short resize_arm_width; > short abbsb_height ; > short cable_offset ; > > short cable_width ; > short point_size ; > short dtarget_height; > short dtarget_width; > short dtarget_swidth; > short dtarget_ewidth; > > >} Graphics_info; ># 566 "/home/howarth/rhdev/BUILD/xview-3.2p1.4/build/include/olgx/olgx.h" >Graphics_info * olgx_main_initialize(); > > > >Graphics_info * olgx_initialize(); >void olgx_calculate_3Dcolors(); >unsigned long olgx_get_single_color(); >void olgx_closedown(); >void olgx_destroy(); > > > > >void > olgx_set_text_font(), > > > > olgx_set_glyph_font(), > olgx_set_single_color(), > olgx_stipple_rect(), > olgx_scroll_stipple_rects(), > olgx_draw_accel_button(), > olgx_draw_accel_choice_item(), > olgx_draw_accel_label(), > olgx_draw_elevator(), > olgx_draw_button(), > olgx_draw_choice_item(), > olgx_draw_scrollbar(), > olgx_draw_menu_mark(), > olgx_draw_abbrev_button(), > olgx_draw_slider(), > olgx_draw_horizontal_slider(), > olgx_draw_vertical_slider(), > olgx_draw_resize_corner(), > olgx_draw_textscroll_button(), > olgx_draw_numscroll_button(), > olgx_draw_gauge(), > olgx_draw_horiz_gauge(), > olgx_draw_vertical_gauge(), > olgx_draw_pushpin(), > olgx_draw_box(), > olgx_draw_text(), > olgx_draw_text_ledge(), > olgx_draw_check_box(); ># 24 "screen.h" 2 > ># 1 "win.h" 1 ># 26 "screen.h" 2 > > > > >typedef enum { ROOT_GC, > FOREGROUND_GC, > BORDER_GC, > WINDOW_GC, > WORKSPACE_GC, > BUSY_GC, > ICON_NORMAL_GC, > ICON_MASK_GC, > ICON_BORDER_GC, > INPUTFOCUS_GC, > VDM_GC, > VDM_INPUT_GC, > NUM_GCS >} ScreenGCIndex; > > > > >typedef enum { NORMAL_GINFO, > BUTTON_GINFO, > TEXT_GINFO, > REVPIN_GINFO, > INPUTFOCUS_GINFO, > NUM_GINFOS >} ScreenGinfoIndex; > > > > >typedef enum { > BUSY_STIPPLE, > ICON_BITMAP, > ICON_MASK, > PROTO_DRAWABLE, > GRAY50_BITMAP, > NUM_PIXMAPS >} ScreenPixmapIndex; > > > > >typedef struct _colormapfocus { > struct _client *client; > struct _wingeneric *window; > int locked; >} ColorMapFocus; > > > > >typedef struct _colorinfo { > unsigned long flags; > int reverseVideo; > unsigned long black, white; > unsigned long fgColor, bgColor; > unsigned long bg0Color,bg1Color,bg2Color,bg3Color; > unsigned long borderColor; > WorkspaceStyle workspaceType; > unsigned long workspaceColor; > unsigned long workspaceRootPixel; > unsigned long workspaceBitmapFg; > unsigned long workspaceBitmapBg; > unsigned long virtualFgColor, virtualBgColor; > unsigned long virtualGridColor, virtualFontColor; > unsigned long virtualPixmapColor; > unsigned long virtualInputColor; > unsigned long inputBg0Color,inputBg1Color, > inputBg2Color,inputBg3Color; > unsigned long vIconColor; >} ColorInfo; ># 114 "screen.h" >typedef struct _pixinfo { > int width, height; > Pixmap pixmap; > unsigned long fg, bg; > int ncolors; > XColor *colors; >} PixInfo; > > > > >typedef struct _screeninfo { > Display *dpy; > int screen; > Window rootid; > struct _winroot *rootwin; > int depth; > Visual *visual; > Colormap colormap; > int iscolor; > int use3D; > ColorInfo colorInfo; > GC gc[NUM_GCS]; > Graphics_info *gi[NUM_GINFOS]; > Pixmap pixmap[NUM_PIXMAPS]; > PixInfo pixInfo; > struct _menuCache *menuCache; > ColorMapFocus cmapfocus; > int framepos; > struct _iconGrid *iconGrid; > char **environment; > int instanceQ; > > int dfltIconWidth, dfltIconHeight; > > > > Window *winCache; > int winCacheSize; > int winCacheCount; > > struct _virtualdesktop *vdm; > struct _menu *menuTable[NUM_MENUS]; > struct { > struct _button **frameFullButtons; > int frameFullButtonsCount; > struct _button **frameDismissButtons; > int frameDismissButtonsCount; > struct _button **frameLimitedButtons; > int frameLimitedButtonsCount; > } menuButtons; >} ScreenInfo; > > > > > > > >extern void InitScreens(Display *dpy); >extern void DestroyScreens(Display *dpy); >extern ScreenInfo *GetFirstScrInfo(void); >extern ScreenInfo *GetScrInfoOfScreen(int screen); >extern ScreenInfo *GetScrInfoOfRoot(Window root); >extern void SetWorkspaceBackground(Display *dpy); >extern void SetWindowColor(Display *dpy); >extern void SetForegroundColor(Display *dpy); >extern void SetBackgroundColor(Display *dpy); >extern void SetBorderColor(Display *dpy); >extern void SetTitleFont(Display *dpy); >extern void SetTextFont(Display *dpy); >extern void SetButtonFont(Display *dpy); >extern void SetIconFont(Display *dpy); >extern void SetGlyphFont(Display *dpy); >extern void SetIconLocation(Display *dpy); >extern Window ScreenCreateWindow(ScreenInfo*, Window, > int, int, int, int, unsigned long, > XSetWindowAttributes*); >extern void ScreenDestroyWindow(ScreenInfo*, Window); >extern void ScreenUpdateWinCacheSize(Display *dpy); ># 38 "win.h" 2 > > ># 1 "/usr/include/X11/extensions/shape.h" 1 3 4 ># 64 "/usr/include/X11/extensions/shape.h" 3 4 >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int kind; > int x, y; > unsigned width, height; > Time time; > int shaped; >} XShapeEvent; > > > >extern int XShapeQueryExtension ( > Display* , > int* , > int* >); > >extern int XShapeQueryVersion ( > Display* , > int* , > int* >); > >extern void XShapeCombineRegion ( > Display* , > Window , > int , > int , > int , > Region , > int >); > >extern void XShapeCombineRectangles ( > Display* , > Window , > int , > int , > int , > XRectangle* , > int , > int , > int >); > >extern void XShapeCombineMask ( > Display* , > Window , > int , > int , > int , > Pixmap , > int >); > >extern void XShapeCombineShape ( > Display* , > Window , > int , > int , > int , > Window , > int , > int >); > >extern void XShapeOffsetShape ( > Display* , > Window , > int , > int , > int >); > >extern int XShapeQueryExtents ( > Display* , > Window , > int* , > int* , > int* , > unsigned int* , > unsigned int* , > int* , > int* , > int* , > unsigned int* , > unsigned int* >); > >extern void XShapeSelectInput ( > Display* , > Window , > unsigned long >); > >extern unsigned long XShapeInputSelected ( > Display* , > Window >); > >extern XRectangle *XShapeGetRectangles ( > Display* , > Window , > int , > int* , > int* >); > > ># 41 "win.h" 2 > > > > > > > >typedef enum { Passive, NoInput, LocallyActive, GloballyActive } FocusMode; > >typedef struct { > long flags; > MenuIndex menu_type; > int def_item; > int pushpin_initial_state; > int cancel; > >} WMDecorations; ># 83 "win.h" >typedef int WMState; > > > > > > >typedef struct { > int warpToX, warpToY; > int dflButtonX, dflButtonY; > int dflButtonW, dflButtonH; > struct _client *warpBackClient; > int warpBackX, warpBackY; >} WarpInfo; > > > > >typedef struct _windowstate { > unsigned long flags; > unsigned long state; >} OLWindowState; ># 125 "win.h" >typedef struct _client >{ > int flags; > WMDecorations *wmDecors; > WMState wmState; > XSizeHints *normHints; > XWMHints *wmHints; > char *wmInstance; > char *wmClass; > XrmQuark wmInstanceQ; > XrmQuark wmClassQ; > int protocols; > FocusMode focusMode; > int isFocus; > int isSelected; > int isBusy; > Display *dpy; > int screen; > struct _winpaneframe *framewin; > struct _winiconframe *iconwin; > WarpInfo warpInfo; > Window groupid; > unsigned int groupmask; > long busyState; > List *colormapWins; > struct _screeninfo *scrInfo; > OLWindowState *windowState; > Window transientFor; > > int isShaped; > > int menuAccelerators; > > > > int sticky; > int restoreSticky; > > >} Client; ># 188 "win.h" >typedef enum { WIN_FRAME, WIN_ICON, WIN_RESIZE, WIN_PUSHPIN, WIN_WINBUTTON, > WIN_PANE, WIN_ICONPANE, WIN_COLORMAP, WIN_MENU, WIN_PINMENU, > WIN_NOFOCUS, WIN_ROOT, WIN_BUSY, WIN_VIRTUAL } WinKind; > >typedef int (*EvFunc)(); >typedef int (*IntFunc)(); >typedef struct _genericclasscore { > WinKind kind; > EvFunc xevents[35]; > EvFunc extEventHdlr; > EvFunc focusfunc; > EvFunc drawfunc; > EvFunc destroyfunc; > EvFunc selectfunc; > EvFunc newconfigfunc; > EvFunc newposfunc; > EvFunc setconfigfunc; > EvFunc createcallback; > IntFunc heightfunc; > IntFunc widthfunc; >} GenericClassCore; > >typedef struct _classgeneric { > GenericClassCore core; >} ClassGeneric; > >typedef struct _genericframeclasscore { > IntFunc heighttop, heightbottom, widthleft, widthright; > IntFunc menuPress; > IntFunc adjustPress, adjustClick; > IntFunc selectPress, selectClick, selectDoubleClick, selectDrag; > IntFunc fullrestoreToggle; >} GenericFrameClassCore; > >typedef struct _classgenericframe { > GenericClassCore core; > GenericFrameClassCore fcore; >} ClassGenericFrame; > >typedef struct _genericpaneclasscore { > EvFunc setsizefunc; >} GenericPaneClassCore; > >typedef struct _classpane { > GenericClassCore core; > GenericPaneClassCore pcore; >} ClassGenericPane; > >typedef struct _classvirtual { > GenericClassCore core; > GenericPaneClassCore pcore; >} ClassVirtualPane; > >typedef ClassGenericFrame ClassPaneFrame; >typedef ClassGenericFrame ClassIconFrame; >typedef ClassGeneric ClassPushPin; >typedef ClassGenericPane ClassPane; >typedef ClassGeneric ClassMenu; >typedef ClassGenericPane ClassPinMenu; >typedef ClassGeneric ClassResize; >typedef ClassGeneric ClassButton; >typedef ClassGeneric ClassBusy; >typedef ClassGenericPane ClassIconPane; >typedef ClassGeneric ClassRoot; >typedef ClassGeneric ClassNoFocus; >typedef ClassGeneric ClassColormap; ># 327 "win.h" >typedef struct _wincore { > Window self; > WinKind kind; > struct _wingeneric *parent; > List *children; > Client *client; > int x, y; > unsigned int width, height; > int stack_mode; > Window stack_sib; > unsigned int dirtyconfig; > Colormap colormap; > List *exposures; > List *colormapClients; > int tag; > char *helpstring; > > > > Window virtual; >} WinCore; ># 372 "win.h" >typedef struct _winframecore { > struct _wingenericpane *panewin; > Text *name; > int fullsize; >} WinFrameCore; > > >typedef struct _winpanecore { > int oldBorderWidth; > int oldSaveUnder; > int pendingUnmaps; >} WinPaneCore; > > > >typedef struct _wingeneric { > ClassGeneric *class; > WinCore core; >} WinGeneric; > >typedef struct _winroot { > ClassGeneric *class; > WinCore core; > SemanticAction currentAction; > XEvent buttonPressEvent; >} WinRoot; > >typedef struct _wingenericframe { > ClassGenericFrame *class; > WinCore core; > WinFrameCore fcore; >} WinGenericFrame; ># 412 "win.h" >typedef struct _wingenericpane { > ClassGenericPane *class; > WinCore core; > WinPaneCore pcore; >} WinGenericPane; > >typedef struct { > Text *string; > int length,width; >} Footer; > >typedef struct _winpaneframe { > ClassPaneFrame *class; > WinCore core; > WinFrameCore fcore; > > > struct _winresize *resizeCorner[4]; > > > Footer leftFooter; > Footer rightFooter; ># 442 "win.h" > int titleOff; > int nameLength; > int nameWidth; > int titlex, titley; > > > int pointerIsWarped; > > > void (*normfullsizefunc)(); > int restoreSet; > int restoreX, restoreY, > restoreWidth, restoreHeight; > > > > > > WinGeneric *winDeco; > struct _winbusy *winBusy; >} WinPaneFrame; > >typedef struct _winiconframe { > ClassIconFrame *class; > WinCore core; > WinFrameCore fcore; > struct _iconSlot *iconslot; > int fManuallyPositioned; > int nameX, nameY; > int nameWidth; > int nameLength; >} WinIconFrame; > >typedef struct _winiconpane { > ClassIconPane *class; > WinCore core; > WinPaneCore pcore; > int iconClientWindow; > Pixmap iconPixmap; > Pixmap iconMask; > int iconDepth; >} WinIconPane; > > > > > >typedef struct _winpushpin { > ClassPushPin *class; > WinCore core; > int pushpinin; >} WinPushPin; > >typedef struct _winpane { > ClassPane *class; > WinCore core; > WinPaneCore pcore; >} WinPane; > >typedef struct _winmenu { > ClassMenu *class; > WinCore core; > struct _menuInfo *menuInfo; > int ignoreNextExpose; >} WinMenu; > >typedef struct _winpinmenu { > ClassPinMenu *class; > WinCore core; > WinPaneCore pcore; > struct _menuInfo *menuInfo; >} WinPinMenu; > >typedef struct _winvirtual { > ClassVirtualPane *class; > WinCore core; > WinPaneCore pcore; >} WinVirtual; > >typedef enum {upleft, upright, lowleft, lowright, keyevent} WhichResize; > >typedef struct _winresize { > ClassResize *class; > WinCore core; > WhichResize which; > int depressed; >} WinResize; > >typedef struct _winbutton { > ClassButton *class; > WinCore core; > int ignore; >} WinButton; > >typedef struct _winbusy { > ClassBusy *class; > WinCore core; > int isFocus; >} WinBusy; > >typedef WinGeneric WinNoFocus; > > > > > > >typedef WinGeneric WinColormap; > > > >extern void WIInstallInfo(); >extern int WIUninstallInfo(); >extern WinGeneric *WIGetInfo(); >extern WinGeneric *VGetInfo(); >extern void WIApply(); > > >extern void WinAddChild(); >extern void WinRemoveChild(); > > > > > > > >extern int ShapeSupported; >extern int ShapeEventBase; >extern int ShapeErrorBase; > > >extern Client *CurrentClient; ># 26 "virtual.c" 2 ># 1 "menu.h" 1 ># 11 "menu.h" >#ident "@(#)menu.h 1.5 olvwm version 09 Feb 1994" ># 30 "menu.h" >typedef int (*FuncPtr) (); > > > > > > > >typedef enum {NoType, StringLabel, ImageLabel, ComboLabel} ButtonLabelKind; > >typedef struct _buttonlabel { > ButtonLabelKind kind; > Text *string; > Pixlabel *pixlabel; >} ButtonLabel; > > > > >typedef struct _button { > ButtonLabel label[2]; > char *helpstring[2]; > int which; > int has_submenu; > int enabled; > int visible; > FuncPtr callback; > > > SemanticAction semantic; > > FuncPtr generate_func; > > char *generate_args; > > union { > struct _menu *submenu; > char *command; > void *other; > } action; > >} Button; > > > > >typedef struct _menu { > Text *title; > Button **buttons; > int buttonCount; > int buttonDefault; > int hasPushPin; > int menudirty; > char *helpstring; > int wantAccelerators; > > int btnPerCol; > int maxLabWidth; > int maxLabHeight; > int prefColSize; >} Menu; ># 122 "menu.h" >extern int flDoSetDefault; ># 135 "menu.h" >typedef struct _buttonInfo { > Button *button; > int buttonX, buttonY; > int buttonHeight; > int flDirty; > int framed; > struct _menuInfo *subMenu; > int has_accel; > int has_meta_mark; > Text *accel_modifier; > Text *accel_key; >} ButtonInfo; > >typedef struct _menuInfo { > int depth; > Menu *menu; > ButtonInfo *buttons; > int notitleOffset, buttonOffset; > int menuX, menuY, menuWidth, menuHeight; > int titleX, titleY, titleHeight, titleWidth; > int pushPinX, pushPinY; > int maxbuttonWidth; > int labelPos, accModPos, buttonMarkPos, accKeyPos; > struct _wingeneric *menuWin; > struct _menuInfo *origmenuInfo; > struct _menuInfo *pinnedBrother; > int childActive; > int pinIn; > int litButton; > int ignoreNextExpose; > SemanticAction action; > int ringedButton; > int hasAccelerators; > int numColumns; > int hasImages; >} MenuInfo; > > > > >typedef struct _menuCache { > MenuInfo **menuInfoList; > int nextSlot; > int maxSlots; > struct _winmenu **menuWinList; > int maxDepth; >} MenuCache; > >typedef enum _menuTrackMode { > MODE_DRAG, > MODE_CLICK >} MenuTrackMode; > >typedef enum _menuLocation { > ML_BUTTON, > ML_PIN, > ML_MENU, > ML_OFFMENU, > ML_BUTTONDISABLED >} MenuLocation; ># 213 "menu.h" >void SetMenuDefault(); >Menu *NewNamedMenu(); >int AppendMenuItem(); >Menu *CreateMenu(); >Menu *GetEnabledMenu(); >MenuInfo *MenuInfoCreate(); >void ShowStandardMenu(); >void ShowStandardMenuSync(); >void SetClickCallback(); > >extern void InitMenus(); >extern MenuCache *InitScreenMenus( ); >extern void MenuCreate( ); >extern void MenuShow( ); >extern void SetButton( ); >extern void ExecButtonAction( ); >extern void DrawMenu( ); >extern int PointInRect( ); > > > > > > >void InitRegions(); >void EmptyRegion(); >void RectRegion(); >void AppendExposeDamage(); >void MakeExposeDamage(); > > > > > >extern struct _winmenu * >MakeMenu( > > ); >extern void >MapMenuWindow( > > > ); >extern void >UnmapMenuWindow( > > > ); > > >int MenuEventExpose(); >int MenuEventDrawMenu(); > >SemanticAction MenuMouseAction( > > > ); > > > > > >extern struct _winpinmenu * >MakePinMenu( > > > ); ># 312 "menu.h" >typedef struct _comblabel { > Pixlabel pixlabel; > char *strlabel; >} Comblabel; ># 27 "virtual.c" 2 ># 1 "virtual.h" 1 > > > > > > >#ident "@(#)virtual.h 1.3 olvwm version 07 Jan 1994" ># 55 "virtual.h" >typedef struct _virtualresources { > char *size; > char *geometry; > char *iconGeometry; > int scale; > VirtualGridType grid; > char *background; > PixInfo pixInfo; >} VirtualResources; > >typedef struct _virtualdesktop { > struct _client *client; > > > int offsetX; > int offsetY; > > > > > > int absoluteWidth; > int absoluteHeight; > > int columns; > int rows; > int height; > int width; > int screenWidth; > int screenHeight; > int screenX; > int screenY; > int max_ascent; > int saveX; > int saveY; > VirtualResources *resources; >} VirtualDesktop; > > > > > >typedef struct _vdmstuff { > VirtualDesktop *vdm; > int initX, initY; > int pointerX, > pointerY; > int numMoves; > GC gc; >} VDMstuff; > > > > >struct deltas { > double delta_x, delta_y; >}; ># 28 "virtual.c" 2 ># 1 "patchlevel.h" 1 ># 29 "virtual.c" 2 > ># 1 "vdm.icon" 1 > >#ident "@(#)vdm.icon 1.2 olvwm version 25 Nov 1992" > > > > >static unsigned char vdm_bits[] = { > 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, > 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x03, > 0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x0e, > 0x71,0x00,0x00,0x00,0x00,0x00,0xc0,0xe1,0x86,0x01,0x00,0x00,0x00,0x00,0x38, > 0x1c,0x38,0x0e,0x00,0x00,0x00,0x00,0x07,0x03,0xc0,0x30,0x00,0x00,0x00,0xe0, > 0x70,0x1c,0x00,0xc7,0x01,0x00,0x00,0x1c,0x8e,0x61,0x00,0x18,0x06,0x00,0x80, > 0xc3,0x01,0x8e,0x03,0x07,0x18,0x00,0x70,0x20,0x00,0x10,0xec,0x00,0x17,0x00, > 0x0e,0x20,0x1c,0x10,0x10,0xe0,0x18,0xc0,0x01,0xc0,0x63,0x0e,0x00,0x1c,0x17, > 0x30,0x00,0x30,0x80,0x03,0x80,0xe3,0x10,0xd0,0x00,0x08,0x00,0x04,0x70,0x1c, > 0x10,0x10,0x07,0x08,0x00,0x04,0x8e,0x03,0x10,0x10,0x18,0x70,0x80,0xc3,0x71, > 0x01,0x10,0x10,0xe0,0x80,0x71,0x38,0x0e,0x01,0x18,0x10,0x00,0x03,0x0e,0xc7, > 0x01,0x01,0x17,0x10,0x00,0x1c,0xe0,0x38,0x00,0xe1,0x10,0x10,0x06,0x60,0x1c, > 0x07,0x00,0x1d,0x10,0x10,0x06,0x80,0xe3,0x00,0x00,0x03,0x10,0x10,0x06,0x00, > 0x1d,0x00,0x00,0x01,0x10,0x10,0x04,0x06,0x13,0x00,0x00,0x01,0x18,0x10,0x0c, > 0x06,0x11,0x00,0x00,0x01,0x17,0x10,0x0c,0x06,0x39,0x00,0x00,0xe1,0x10,0x10, > 0x08,0x02,0xc7,0x00,0x00,0x1d,0x10,0x10,0x18,0x03,0x01,0x07,0x00,0x03,0x10, > 0x10,0x18,0x03,0x01,0x18,0x00,0x01,0x10,0x10,0x98,0x01,0x01,0xe0,0x00,0x01, > 0x1c,0x10,0xb0,0x01,0x01,0x00,0x03,0x81,0x03,0x10,0xb0,0x01,0x01,0x00,0x1c, > 0x61,0x00,0x10,0xe0,0x00,0x01,0x00,0x60,0x1d,0x00,0x30,0x60,0x00,0x01,0x00, > 0x80,0x03,0x00,0xc0,0x40,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x01, > 0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x60,0x00, > 0x01,0x00,0x00,0x00,0x00,0x00,0x80,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00, > 0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x01,0x00,0x00,0x00,0x00,0x00, > 0x00,0xc0,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; ># 31 "virtual.c" 2 ># 1 "vdm.mask" 1 > >#ident "@(#)vdm.mask 1.2 olvwm version 25 Nov 1992" > > > > >static unsigned char vdmmask_bits[] = { > 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, > 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x03, > 0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x0e, > 0x71,0x00,0x00,0x00,0x00,0x00,0xc0,0xe1,0x87,0x01,0x00,0x00,0x00,0x00,0x38, > 0xfc,0x3f,0x0e,0x00,0x00,0x00,0x00,0x07,0xff,0xff,0x30,0x00,0x00,0x00,0xe0, > 0x70,0xfc,0xff,0xc7,0x01,0x00,0x00,0x1c,0xfe,0xe1,0xff,0x1f,0x06,0x00,0x80, > 0xc3,0xff,0x8f,0xff,0x07,0x18,0x00,0x70,0xe0,0xff,0x1f,0xfc,0x00,0x1f,0x00, > 0x0e,0xe0,0xff,0x1f,0x10,0xe0,0x1f,0xc0,0x01,0xc0,0xff,0x0f,0x00,0xfc,0x1f, > 0x30,0x00,0xf0,0xff,0x03,0x80,0xff,0x1f,0xf0,0x00,0xf8,0xff,0x07,0xf0,0xff, > 0x1f,0xf0,0x07,0xf8,0xff,0x07,0xfe,0xff,0x1f,0xf0,0x1f,0xf0,0xff,0xc3,0xff, > 0xff,0x1f,0xf0,0xff,0x80,0x7f,0xf8,0xff,0xff,0x1f,0xf0,0xff,0x03,0x0e,0xff, > 0xff,0xff,0x1f,0xf0,0xff,0x1f,0xe0,0xff,0xff,0xff,0x1f,0xf0,0xff,0x7f,0xfc, > 0xff,0xff,0xff,0x1f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x1f,0xf0,0xff,0xff, > 0xff,0xff,0xff,0xff,0x1f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x1f,0xf0,0xff, > 0xff,0xff,0xff,0xff,0xff,0x1f,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x1f,0xf0, > 0xff,0xff,0xc7,0xff,0xff,0xff,0x1f,0xf0,0xff,0xff,0x01,0xff,0xff,0xff,0x1f, > 0xf0,0xff,0xff,0x01,0xf8,0xff,0xff,0x1f,0xf0,0xff,0xff,0x01,0xe0,0xff,0xff, > 0x1f,0xf0,0xff,0xff,0x01,0x00,0xff,0xff,0x03,0xf0,0xff,0xff,0x01,0x00,0xfc, > 0x7f,0x00,0xf0,0xff,0xff,0x01,0x00,0xe0,0x1f,0x00,0xf0,0xff,0xff,0x01,0x00, > 0x80,0x03,0x00,0xc0,0xff,0xff,0x01,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x01, > 0x00,0x00,0x00,0x00,0x00,0xfc,0xff,0x01,0x00,0x00,0x00,0x00,0x00,0xe0,0xff, > 0x01,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x01,0x00,0x00,0x00,0x00,0x00,0x00, > 0xfc,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x01,0x00,0x00,0x00,0x00,0x00, > 0x00,0xc0,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; ># 32 "virtual.c" 2 ># 56 "virtual.c" >static regexp_err(int val); > > > > ># 1 "./regexp.h" 1 ># 33 "./regexp.h" ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 34 "./regexp.h" 2 ># 1 "/usr/include/regex.h" 1 3 4 ># 36 "/usr/include/regex.h" 3 4 >typedef long int s_reg_t; >typedef unsigned long int active_reg_t; > > > > > > >typedef unsigned long int reg_syntax_t; ># 183 "/usr/include/regex.h" 3 4 >extern reg_syntax_t re_syntax_options; ># 307 "/usr/include/regex.h" 3 4 >typedef enum >{ > > REG_ENOSYS = -1, > > > REG_NOERROR = 0, > REG_NOMATCH, > > > > REG_BADPAT, > REG_ECOLLATE, > REG_ECTYPE, > REG_EESCAPE, > REG_ESUBREG, > REG_EBRACK, > REG_EPAREN, > REG_EBRACE, > REG_BADBR, > REG_ERANGE, > REG_ESPACE, > REG_BADRPT, > > > REG_EEND, > REG_ESIZE, > REG_ERPAREN >} reg_errcode_t; ># 356 "/usr/include/regex.h" 3 4 >struct re_pattern_buffer >{ > > > > unsigned char *__buffer; > > > unsigned long int __allocated; > > > unsigned long int __used; > > > reg_syntax_t __syntax; > > > > > char *__fastmap; > > > > > > unsigned char * __translate; > > > size_t re_nsub; > > > > > > unsigned __can_be_null : 1; ># 401 "/usr/include/regex.h" 3 4 > unsigned __regs_allocated : 2; > > > > unsigned __fastmap_accurate : 1; > > > > unsigned __no_sub : 1; > > > > unsigned __not_bol : 1; > > > unsigned __not_eol : 1; > > > unsigned __newline_anchor : 1; >}; > >typedef struct re_pattern_buffer regex_t; > > >typedef int regoff_t; ># 451 "/usr/include/regex.h" 3 4 >typedef struct >{ > regoff_t rm_so; > regoff_t rm_eo; >} regmatch_t; ># 556 "/usr/include/regex.h" 3 4 >extern int regcomp (regex_t *__restrict __preg, > const char *__restrict __pattern, > int __cflags); > >extern int regexec (const regex_t *__restrict __preg, > const char *__restrict __string, size_t __nmatch, > regmatch_t __pmatch[__restrict], > int __eflags); > >extern size_t regerror (int __errcode, const regex_t *__restrict __preg, > char *__restrict __errbuf, size_t __errbuf_size); > >extern void regfree (regex_t *__preg); ># 35 "./regexp.h" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i386-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 67 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 68 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 182 "/usr/include/stdlib.h" 3 4 > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 277 "/usr/include/stdlib.h" 3 4 > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 311 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 327 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 479 "/usr/include/stdlib.h" 3 4 > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); ># 502 "/usr/include/stdlib.h" 3 4 >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); ># 511 "/usr/include/stdlib.h" 3 4 > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > ># 543 "/usr/include/stdlib.h" 3 4 > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 583 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 597 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 614 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 640 "/usr/include/stdlib.h" 3 4 > > > > > >extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); > ># 662 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); ># 680 "/usr/include/stdlib.h" 3 4 > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); ># 699 "/usr/include/stdlib.h" 3 4 >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 735 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 832 "/usr/include/stdlib.h" 3 4 >extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 848 "/usr/include/stdlib.h" 3 4 >extern int grantpt (int __fd) __attribute__ ((__nothrow__)); > > > >extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); > > > > >extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 875 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > ># 1 "/usr/include/bits/stdlib.h" 1 3 4 ># 24 "/usr/include/bits/stdlib.h" 3 4 >extern char *__realpath_chk (__const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) > > > > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > { > > if (__builtin_object_size (__resolved, 2 > 1) < 4096) > return __realpath_chk_warn (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > } > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > __const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__)); > > > >extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))); > > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > } > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > __const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__)); > > > >extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} ># 883 "/usr/include/stdlib.h" 2 3 4 ># 891 "/usr/include/stdlib.h" 3 4 > ># 36 "./regexp.h" 2 ># 82 "./regexp.h" > > > > >extern char *loc1; >extern char *loc2; > > > >extern char *locs; ># 101 "./regexp.h" >char * >compile (char *__restrict instring, char *__restrict expbuf, > __const char *__restrict endbuf, int eof) >{ > char *__input_buffer = ((void *)0); > size_t __input_size = 0; > size_t __current_size = 0; > int __ch; > int __error; > register char *sp = instring; > > > > > regex_t *__expr_ptr; > > const size_t __req = __alignof__ (regex_t *); > > > > > > expbuf += __req; > expbuf -= (expbuf - ((char *) 0)) % __req; > if (endbuf < expbuf + sizeof (regex_t)) > { > regexp_err(50); > } > __expr_ptr = (regex_t *) expbuf; > > > __expr_ptr->buffer = expbuf + sizeof (regex_t); > __expr_ptr->allocated = endbuf - (char *) __expr_ptr->buffer; > > while ((__ch = ((*sp++))) != eof) > { > if (__ch == '\0' || __ch == '\n') > { > (--sp); > break; > } > > if (__current_size + 1 >= __input_size) > { > size_t __new_size = __input_size ? 2 * __input_size : 128; > char *__new_room = (char *) __builtin_alloca (__new_size); > > if (__new_room + __new_size == __input_buffer) > { > __input_size += __new_size; > __input_buffer = (char *) memcpy (__new_room, __input_buffer, > __current_size); > } > else if (__input_buffer + __input_size == __new_room) > __input_size += __new_size; > else > { > __input_size = __new_size; > __input_buffer = (char *) memcpy (__new_room, __input_buffer, > __current_size); > } > } > __input_buffer[__current_size++] = __ch; > } > __input_buffer[__current_size++] = '\0'; > > > __error = regcomp (__expr_ptr, __input_buffer, ((1 << 1) << 1)); > if (__error != 0) > > switch (__error) > { > case REG_BADPAT: > case REG_ECOLLATE: > case REG_ECTYPE: > case REG_EESCAPE: > case REG_BADRPT: > case REG_EEND: > case REG_ERPAREN: > default: > > return;; > case REG_ESUBREG: > return;; > case REG_EBRACK: > return;; > case REG_EPAREN: > return;; > case REG_EBRACE: > return;; > case REG_BADBR: > return;; > case REG_ERANGE: > return;; > case REG_ESPACE: > case REG_ESIZE: > regexp_err(50); > } > > > return;; >} > > > > > > > >extern int step (__const char *__restrict __string, > __const char *__restrict __expbuf) __attribute__ ((__nothrow__)); > > > > >extern int advance (__const char *__restrict __string, > __const char *__restrict __expbuf) __attribute__ ((__nothrow__)); > > > ># 62 "virtual.c" 2 > > > > > >#ident "@(#)virtual.c 1.6 olvwm version 07 Jan 1994" > > > > > > >static ClassVirtualPane classVirtualPane; > > > > > > >static int lastSelectTime; > >extern List *ScreenInfoList; > >extern Button *MakeUpLeftButton(),*MakeLeftButton(),*MakeDownLeftButton(), > *MakeUpButton(),*MakeHomeButton(),*MakeDownButton(), > *MakeUpRightButton(),*MakeRightButton(),*MakeDownRightButton(); > >extern char *ExpandPath(); > > > > > > > >static SemanticAction vdmButtonActions[] = { > ACTION_UPLEFT, > ACTION_LEFT, > ACTION_DOWNLEFT, > ACTION_UP, > ACTION_HOME, > ACTION_DOWN, > ACTION_UPRIGHT, > ACTION_RIGHT, > ACTION_DOWNRIGHT, >}; > >static unsigned char pixdata[] = { 0xaa, 0x55 }; > > > > > > >static rexMatch(char *string); >static rexInit(char *pattern); ># 129 "virtual.c" >static void >drawVDMGrid(dpy, vdm) > Display *dpy; > VirtualDesktop *vdm; > >{ >int i; >XPoint pts[5]; >int dh = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->height); >int dw = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->width); >ScreenInfo *scrInfo = vdm->client->scrInfo; > > XClearArea(dpy, (((vdm->client)->framewin->fcore.panewin)->core.self), 0, 0, 0, 0, 0); > XSetForeground(dpy, scrInfo->gc[VDM_GC], > scrInfo->colorInfo.virtualGridColor); > if (vdm->resources->grid == GridVisible) { > XSetLineAttributes(dpy, scrInfo->gc[VDM_GC], 0, 1, > 0, 0); > pts[0].y = 0; > pts[1].y = vdm->height; > for (i = dw; i < vdm->absoluteWidth; i += dw) { > pts[0].x = pts[1].x = i / vdm->resources->scale; > XDrawLines(dpy, (((vdm->client)->framewin->fcore.panewin)->core.self), scrInfo->gc[VDM_GC], > pts, 2, 0); > } > pts[0].x = 0; > pts[1].x = vdm->width; > for (i = dh; i < vdm->absoluteHeight; i+= dh) { > pts[0].y = pts[1].y = i / vdm->resources->scale; > XDrawLines(dpy, (((vdm->client)->framewin->fcore.panewin)->core.self), scrInfo->gc[VDM_GC], > pts, 2, 0); > } > XSetLineAttributes(dpy, scrInfo->gc[VDM_GC], 0, > 0, 0, 0); > } > pts[0].x = pts[4].x = -vdm->offsetX / vdm->resources->scale; > pts[0].y = pts[4].y = -vdm->offsetY / vdm->resources->scale; > pts[1].x = (dw - vdm->offsetX) / vdm->resources->scale; > pts[1].y = pts[0].y; > pts[2].x = pts[1].x; > pts[2].y = (dh - vdm->offsetY) / vdm->resources->scale; > pts[3].x = pts[0].x; > pts[3].y = pts[2].y; > XDrawLines(dpy, (((vdm->client)->framewin->fcore.panewin)->core.self), scrInfo->gc[VDM_GC], > pts, 5, 0); > XSetForeground(dpy, scrInfo->gc[VDM_GC], scrInfo->colorInfo.virtualFontColor); >} > > > > > >typedef struct _replacestickyinfo { > struct deltas *deltas; > int screen; >} replaceStickyInfo; > >static void * >replaceSticky(cli, c) > Client *cli; > replaceStickyInfo *c; > >{ >WinGenericFrame *win; > > if (cli->screen != c->screen) > return ((void *)0); > if (cli->wmInstance && !__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (cli->wmInstance) && __builtin_constant_p ("OI_TRANSIENT") && (__s1_len = strlen (cli->wmInstance), __s2_len = strlen ("OI_TRANSIENT"), (!((size_t)(const void *)((cli->wmInstance) + 1) - (size_t)(const void *)(cli->wmInstance) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) || __s2_len >= 4)) ? __builtin_strcmp (cli->wmInstance, "OI_TRANSIENT") : (__builtin_constant_p (cli->wmInstance) && ((size_t)(const void *)((cli->wmInstance) + 1) - (size_t)(const void *)(cli->wmInstance) == 1) && (__s1_len = strlen (cli->wmInstance), __s1_len < 4) ? (__builtin_constant_p ("OI_TRANSIENT") && ((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) ? __builtin_strcmp (cli->wmInstance, "OI_TRANSIENT") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("OI_TRANSIENT"); register int __result = (((__const unsigned char *) (__const char *) (cli->wmInstance))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (cli->wmInstance))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (cli->wmInstance))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (cli->wmInstance))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("OI_TRANSIENT") && ((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) && (__s2_len = strlen ("OI_TRANSIENT"), __s2_len < 4) ? (__builtin_constant_p (cli->wmInstance) && ((size_t)(const void *)((cli->wmInstance) + 1) - (size_t)(const void *)(cli->wmInstance) == 1) ? __builtin_strcmp (cli->wmInstance, "OI_TRANSIENT") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (cli->wmInstance); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[3]); } } __result; }))) : __builtin_strcmp (cli->wmInstance, "OI_TRANSIENT")))); })) > return ((void *)0); > if (cli->wmClass && !__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (cli->wmClass) && __builtin_constant_p ("OI_TRANSIENT") && (__s1_len = strlen (cli->wmClass), __s2_len = strlen ("OI_TRANSIENT"), (!((size_t)(const void *)((cli->wmClass) + 1) - (size_t)(const void *)(cli->wmClass) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) || __s2_len >= 4)) ? __builtin_strcmp (cli->wmClass, "OI_TRANSIENT") : (__builtin_constant_p (cli->wmClass) && ((size_t)(const void *)((cli->wmClass) + 1) - (size_t)(const void *)(cli->wmClass) == 1) && (__s1_len = strlen (cli->wmClass), __s1_len < 4) ? (__builtin_constant_p ("OI_TRANSIENT") && ((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) ? __builtin_strcmp (cli->wmClass, "OI_TRANSIENT") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("OI_TRANSIENT"); register int __result = (((__const unsigned char *) (__const char *) (cli->wmClass))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (cli->wmClass))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (cli->wmClass))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (cli->wmClass))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("OI_TRANSIENT") && ((size_t)(const void *)(("OI_TRANSIENT") + 1) - (size_t)(const void *)("OI_TRANSIENT") == 1) && (__s2_len = strlen ("OI_TRANSIENT"), __s2_len < 4) ? (__builtin_constant_p (cli->wmClass) && ((size_t)(const void *)((cli->wmClass) + 1) - (size_t)(const void *)(cli->wmClass) == 1) ? __builtin_strcmp (cli->wmClass, "OI_TRANSIENT") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (cli->wmClass); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("OI_TRANSIENT"))[3]); } } __result; }))) : __builtin_strcmp (cli->wmClass, "OI_TRANSIENT")))); })) > return ((void *)0); > if (cli && !cli->sticky) { > win = (WinGenericFrame *) cli->framewin; > if (win) > GFrameSetConfig(win, (int) (win->core.x - c->deltas->delta_x), > (int) (win->core.y - c->deltas->delta_y), > win->core.width, win->core.height); > win = (WinGenericFrame *) cli->iconwin; > if (win) > GFrameSetConfig(win, (int) (win->core.x - c->deltas->delta_x), > (int) (win->core.y - c->deltas->delta_y), > win->core.width, win->core.height); > } > else if (cli) { > > > > > if (cli->framewin) > XMoveWindow(cli->dpy, cli->framewin->core.virtual, > (cli->framewin->core.x) / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenX, > (cli->framewin->core.y) / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenY); > if (cli->iconwin) > XMoveWindow(cli->dpy, cli->iconwin->core.virtual, > (cli->iconwin->core.x) / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenX, > (cli->iconwin->core.y) / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenY); > } > return ((void *)0); >} > >static void >moveDesktop(dpy, deltas, vdm) > Display *dpy; > struct deltas *deltas; > VirtualDesktop *vdm; >{ >extern List *ActiveClientList; >replaceStickyInfo info; > > vdm->offsetX -= deltas->delta_x; > vdm->offsetY -= deltas->delta_y; > vdm->screenX = -vdm->offsetX / vdm->resources->scale; > vdm->screenY = -vdm->offsetY / vdm->resources->scale; > info.screen = vdm->client->screen; > info.deltas = deltas; > ListApply(ActiveClientList, replaceSticky, &info); > drawVDMGrid(dpy, vdm); >} > > > > >static void >constrainDeltas(dpy, vdm, deltas) > Display *dpy; > VirtualDesktop *vdm; > struct deltas *deltas; >{ >int dw = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->width); >int dh = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->height); > > if (vdm->offsetX - deltas->delta_x < dw - vdm->absoluteWidth) > deltas->delta_x = vdm->offsetX + vdm->absoluteWidth - dw; > else if (vdm->offsetX - deltas->delta_x > 0) > deltas->delta_x = vdm->offsetX; > > if (vdm->offsetY - deltas->delta_y < dh - vdm->absoluteHeight) > deltas->delta_y = vdm->offsetY + vdm->absoluteHeight - dh; > else if (vdm->offsetY - deltas->delta_y > 0) > deltas->delta_y = vdm->offsetY; >} > >static int >vdmPerformAction(dpy, vdm, a) > Display *dpy; > VirtualDesktop *vdm; > SemanticAction a; > >{ >struct deltas deltas; >int dh = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->height); >int dw = ((&((_XPrivDisplay)dpy)->screens[vdm->client->screen])->width); > > deltas.delta_x = deltas.delta_y = 0; > switch(a) { > case ACTION_UP: > case ACTION_UP_V: > deltas.delta_y = -dh; > break; > case ACTION_JUMP_UP: > deltas.delta_y = -dh * 20; > break; > case ACTION_HALF_UP: > deltas.delta_y = -dh * .5; > break; > case ACTION_DOWN: > case ACTION_DOWN_V: > deltas.delta_y = dh; > break; > case ACTION_JUMP_DOWN: > deltas.delta_y = dh * 20; > break; > case ACTION_HALF_DOWN: > deltas.delta_y = dh * .5; > break; > case ACTION_LEFT: > case ACTION_LEFT_V: > deltas.delta_x = -dw; > break; > case ACTION_JUMP_LEFT: > deltas.delta_x = -dw * 20; > break; > case ACTION_HALF_LEFT: > deltas.delta_x = -dw * .5; > break; > case ACTION_RIGHT: > case ACTION_RIGHT_V: > deltas.delta_x = dw; > break; > case ACTION_JUMP_RIGHT: > deltas.delta_x = dw * 20; > break; > case ACTION_HALF_RIGHT: > deltas.delta_x = dw * .5; > break; > case ACTION_UPLEFT: > case ACTION_UPLEFT_V: > deltas.delta_x = -dw; > deltas.delta_y = -dh; > break; > case ACTION_JUMP_UPLEFT: > deltas.delta_x = -dw * 20; > deltas.delta_y = -dh * 20; > break; > case ACTION_HALF_UPLEFT: > deltas.delta_x = -dw * .5; > deltas.delta_y = -dh * .5; > break; > case ACTION_UPRIGHT: > case ACTION_UPRIGHT_V: > deltas.delta_x = dw; > deltas.delta_y = -dh; > break; > case ACTION_JUMP_UPRIGHT: > deltas.delta_x = dw * 20; > deltas.delta_y = -dh * 20; > break; > case ACTION_HALF_UPRIGHT: > deltas.delta_x = dw * .5; > deltas.delta_y = -dh * .5; > break; > case ACTION_HOME: > case ACTION_HOME_V: > deltas.delta_x = vdm->offsetX; > deltas.delta_y = vdm->offsetY; > break; > case ACTION_DOWNLEFT: > case ACTION_DOWNLEFT_V: > deltas.delta_x = -dw; > deltas.delta_y = dh; > break; > case ACTION_JUMP_DOWNLEFT: > deltas.delta_x = -dw * 20; > deltas.delta_y = dh * 20; > break; > case ACTION_HALF_DOWNLEFT: > deltas.delta_x = -dw * .5; > deltas.delta_y = dh * .5; > break; > case ACTION_DOWNRIGHT: > case ACTION_DOWNRIGHT_V: > deltas.delta_x = dw; > deltas.delta_y = dh; > break; > case ACTION_JUMP_DOWNRIGHT: > deltas.delta_x = dw * 20; > deltas.delta_y = dh * 20; > break; > case ACTION_HALF_DOWNRIGHT: > deltas.delta_x = dw * .5; > deltas.delta_y = dh * .5; > break; > case ACTION_GOTO_1: > case ACTION_GOTO_2: > case ACTION_GOTO_3: > case ACTION_GOTO_4: > case ACTION_GOTO_5: > case ACTION_GOTO_6: > case ACTION_GOTO_7: > case ACTION_GOTO_8: > case ACTION_GOTO_9: > case ACTION_GOTO_10: > deltas.delta_x = vdm->offsetX + > ((int) (a - ACTION_GOTO_1) % vdm->columns) * dw; > deltas.delta_y = vdm->offsetY + > ((int) (a - ACTION_GOTO_1) / vdm->columns) * dh; > break; > default: > return 0; > } > constrainDeltas(dpy, vdm, &deltas); > > if (fabs(deltas.delta_x) < 0.1 && fabs(deltas.delta_y) < 0.1) > return 0; > moveDesktop(dpy, &deltas, vdm); > return 1; >} > > > > > >static void >translateVirtualCoords(vdm, root_x, root_y, x, y) > VirtualDesktop *vdm; > int *root_x, *root_y, *x, *y; > >{ >int tx, ty; >unsigned int tw, th, bw, d; >Window root; > > if (x) > *x *= vdm->resources->scale; > if (y) > *y *= vdm->resources->scale; > if (!root_x || !root_y) > return; > XGetGeometry(vdm->client->dpy, vdm->client->framewin->core.self, > &root, &tx, &ty, &tw, &th, &bw, &d); > *root_x -= tx; > *root_y -= ty; > XGetGeometry(vdm->client->dpy, > vdm->client->framewin->fcore.panewin->core.self, > &root, &tx, &ty, &tw, &th, &bw, &d); > *root_x -= tx; > *root_y -= ty; > *root_x *= vdm->resources->scale; > *root_x += vdm->offsetX; > *root_y *= vdm->resources->scale; > *root_y += vdm->offsetY; >} > >void >calculateVirtualDesktopSize(dpy, screen, v) > Display *dpy; > int screen; > VirtualDesktop *v; > >{ > int width, height; > int dw = ((&((_XPrivDisplay)dpy)->screens[screen])->width); > int dh = ((&((_XPrivDisplay)dpy)->screens[screen])->height); > > sscanf(v->resources->size, "%dx%d", &width, &height); > if (width < dw) > v->columns = width; > else v->columns = (((width)+(dw)-1)/(dw)); > if (height < dh) > v->rows = height; > else v->rows = (((height)+(dh)-1)/(dh)); > > v->absoluteWidth = v->columns * dw; > v->absoluteHeight = v->rows * dh; > > v->screenWidth = dw / v->resources->scale; > v->screenHeight = dh / v->resources->scale; > if (v->resources->grid) { > v->width = v->columns * v->screenWidth; > v->height = v->rows * v->screenHeight; > } > else { > v->width = v->absoluteWidth / v->resources->scale; > v->height = v->absoluteHeight / v->resources->scale; > } >} ># 489 "virtual.c" >static VirtualDesktop * >allocVirtualDesktop(dpy, screen, rsc) > Display *dpy; > int screen; > VirtualResources *rsc; > >{ > VirtualDesktop *v; > > v = (VirtualDesktop *) MemAlloc(sizeof(VirtualDesktop)); > v->resources = rsc; > v->offsetX = 0; > v->offsetY = 0; > v->screenX = 0; > v->screenY = 0; > calculateVirtualDesktopSize(dpy, screen, v); > return v; >} > >static void >constrainOutline(dpy, stuff, x, y, snap) > Display *dpy; > VDMstuff *stuff; > int x, y, snap; >{ >int dw = ((&((_XPrivDisplay)dpy)->screens[stuff->vdm->client->screen])->width); >int dh = ((&((_XPrivDisplay)dpy)->screens[stuff->vdm->client->screen])->height); > > if (snap) { > stuff->vdm->screenX = (((x * stuff->vdm->resources->scale) / dw) * dw) / > stuff->vdm->resources->scale; > stuff->vdm->screenY = (((y * stuff->vdm->resources->scale) / dh) * dh) / > stuff->vdm->resources->scale; > } > else { > stuff->vdm->screenX = x - stuff->pointerX + stuff->initX; > stuff->vdm->screenY = y - stuff->pointerY + stuff->initY; > } > > if (stuff->vdm->screenX < 0) > stuff->vdm->screenX = 0; > else if (stuff->vdm->screenX + stuff->vdm->screenWidth > > stuff->vdm->width + stuff->vdm->resources->scale) > stuff->vdm->screenX = (stuff->vdm->absoluteWidth - dw) / > stuff->vdm->resources->scale; > > if (stuff->vdm->screenY < 0) > stuff->vdm->screenY = 0; > else if (stuff->vdm->screenY + stuff->vdm->screenHeight > > stuff->vdm->height + stuff->vdm->resources->scale) > stuff->vdm->screenY = (stuff->vdm->absoluteHeight - dh) / > stuff->vdm->resources->scale; >} > > > > > > >static void >vdmMoveUpdate(ev, stuff) > XEvent *ev; > VDMstuff *stuff; >{ > XDrawRectangle(stuff->vdm->client->dpy, (((stuff->vdm->client)->framewin->fcore.panewin)->core.self), > stuff->gc, stuff->vdm->screenX, stuff->vdm->screenY, > stuff->vdm->screenWidth + 1, stuff->vdm->screenHeight); > constrainOutline(stuff->vdm->client->dpy, stuff, > ev->xmotion.x, ev->xmotion.y, > (stuff->vdm->resources->grid) ? > !(ev->xbutton.state & (1<<2)) : > (ev->xbutton.state & (1<<2))); > XDrawRectangle(stuff->vdm->client->dpy, (((stuff->vdm->client)->framewin->fcore.panewin)->core.self), > stuff->gc, stuff->vdm->screenX, stuff->vdm->screenY, > stuff->vdm->screenWidth + 1, stuff->vdm->screenHeight); > stuff->numMoves++; >} > >static void >vdmMoveDone(ev, stuff) > XEvent *ev; > VDMstuff *stuff; >{ >struct deltas deltas; >int dw = ((&((_XPrivDisplay)stuff->vdm->client->dpy)->screens[stuff->vdm->client->screen])->width); > >int dh = ((&((_XPrivDisplay)stuff->vdm->client->dpy)->screens[stuff->vdm->client->screen])->height); > > > UninstallInterposer(); > XDrawRectangle(stuff->vdm->client->dpy, (((stuff->vdm->client)->framewin->fcore.panewin)->core.self), > stuff->gc, stuff->vdm->screenX, stuff->vdm->screenY, > stuff->vdm->screenWidth + 1, stuff->vdm->screenHeight); > if (ev->xbutton.time - lastSelectTime <= GRV.DoubleClickTime) { > translateVirtualCoords(stuff->vdm, > &ev->xbutton.x_root, &ev->xbutton.y_root, > &ev->xbutton.x, &ev->xbutton.y); > VDMMoveTo(stuff->vdm->client->dpy, stuff->vdm->client, > ev->xbutton.x_root, ev->xbutton.y_root); > return; > } > lastSelectTime = ev->xbutton.time; > if (!stuff->numMoves) > return; > constrainOutline(stuff->vdm->client->dpy, stuff, > ev->xmotion.x, ev->xmotion.y, > (stuff->vdm->resources->grid) ? > !(ev->xbutton.state & (1<<2)) : > (ev->xbutton.state & (1<<2))); > drawVDMGrid(stuff->vdm->client->dpy, stuff->vdm); > deltas.delta_x = (stuff->vdm->screenX - stuff->initX) * > stuff->vdm->resources->scale + stuff->vdm->resources->scale; > deltas.delta_y = (stuff->vdm->screenY - stuff->initY) * > stuff->vdm->resources->scale + stuff->vdm->resources->scale; > if ((stuff->vdm->resources->grid && !(ev->xbutton.state & (1<<2))) || > (!stuff->vdm->resources->grid && (ev->xbutton.state & (1<<2)))) { > deltas.delta_x = > (((int) (deltas.delta_x - stuff->vdm->offsetX) / dw) * dw) + > stuff->vdm->offsetX; > deltas.delta_y = > (((int) (deltas.delta_y - stuff->vdm->offsetY) / dh) * dh) + > stuff->vdm->offsetY; > } > moveDesktop(stuff->vdm->client->dpy, &deltas, stuff->vdm); >} > >static int > >vdmInterposer(dpy, event, w, stuff) > Display *dpy; > XEvent *event; > WinGeneric *w; > VDMstuff *stuff; >{ >XEvent nextevent; >SemanticAction action; > > switch(event->type) { > case 5: > if ((!((event)->xbutton.state & ~(1<<((event)->xbutton.button+7)) & ((1<<8)|(1<<9)|(1<<10)|(1<<11)|(1<<12))))) { > vdmMoveDone(event, stuff); > } > break; > case 6: > if (!event->xmotion.same_screen) > break; > if ((XEventsQueued(dpy, 1) > 0) && > (XPeekEvent(dpy, &nextevent), nextevent.type == 6)) > > break; > vdmMoveUpdate(event, stuff); > break; > case 12: > return DISPOSE_DISPATCH; > case 2: > action = FindKeyboardAction(dpy, event); > if (action == ACTION_STOP) { > event->xany.type = 5; > event->xbutton.time = 0; > stuff->numMoves = 0; > vdmMoveDone(event, stuff); > } > else return DISPOSE_DEFER; > break; > default: > return DISPOSE_DEFER; > } > return DISPOSE_USED; >} > > > > > > >static >vdmExpose(dpy, event, winInfo) > Display *dpy; > XEvent *event; > WinGeneric *winInfo; >{ >XEvent dummy; > > if (event->xexpose.count) > return; > drawVDMGrid(dpy, winInfo->core.client->scrInfo->vdm); > while (XCheckTypedWindowEvent(dpy, event->xany.window, 12, &dummy)) > ; >} > >static >vdmKeyPress(dpy, ev, winInfo) > Display *dpy; > XEvent *ev; > WinGeneric *winInfo; >{ > if (!KeyMoveVDM(dpy, ev)) > if (GRV.Beep == BeepAlways) > NoFocusEventBeep(dpy, ev, winInfo); >} > >static >vdmConfigure(dpy, event, winInfo) > Display *dpy; > XConfigureEvent *event; > WinVirtual *winInfo; >{ >VirtualDesktop *vdm; >int dw, dh; >int doit; >struct deltas deltas; > > vdm = winInfo->core.client->scrInfo->vdm; > dw = ((&((_XPrivDisplay)dpy)->screens[winInfo->core.client->screen])->width); > dh = ((&((_XPrivDisplay)dpy)->screens[winInfo->core.client->screen])->height); > vdm->width = event->width; > vdm->height = event->height; > if (vdm->resources->grid) { > vdm->absoluteHeight = (vdm->height - 3) * vdm->resources->scale; > vdm->absoluteHeight = ((vdm->absoluteHeight - 1) / dh + 1) * dh; > vdm->absoluteWidth = (vdm->width - 3) * vdm->resources->scale; > vdm->absoluteWidth = ((vdm->absoluteWidth - 1) / dw + 1) * dw; > vdm->rows = (((vdm->absoluteHeight)+(dh)-1)/(dh)); > vdm->columns = (((vdm->absoluteWidth)+(dw)-1)/(dw)); > } > else { > vdm->absoluteHeight = vdm->height * vdm->resources->scale; > vdm->absoluteWidth = vdm->width * vdm->resources->scale; > vdm->rows = (((vdm->absoluteHeight)+(dh)-1)/(dh)); > vdm->columns = (((vdm->absoluteWidth)+(dw)-1)/(dw)); > } > doit = 0; > deltas.delta_x = deltas.delta_y = 0; > if (vdm->screenX + vdm->screenWidth > vdm->width) { > doit = 1; > deltas.delta_x = (vdm->width - vdm->screenWidth - vdm->screenX) * > vdm->resources->scale; > } > if (vdm->screenY + vdm->screenHeight > vdm->height) { > doit = 1; > deltas.delta_y = (vdm->height - vdm->screenHeight - vdm->screenY) * > vdm->resources->scale; > } > if (doit) { > if (deltas.delta_x < 0) > deltas.delta_x = ((int) (deltas.delta_x - vdm->resources->scale) / dw) * dw; > else deltas.delta_x = ((int) (deltas.delta_x + vdm->resources->scale) / dw) * dw; > if (deltas.delta_y < 0) > deltas.delta_y = ((int) (deltas.delta_y - vdm->resources->scale) / dh) * dh; > else deltas.delta_y = ((int) (deltas.delta_y + vdm->resources->scale) / dh) * dh; > moveDesktop(dpy, &deltas, vdm); > } >} > >static >vdmNewConfigure(winInfo, pxcre) > WinVirtual *winInfo; > XConfigureRequestEvent *pxcre; >{ >int oldWidth, oldHeight, oldX, oldY; >Client *cli = winInfo->core.client; >WinPaneFrame *winFrame = cli->framewin; > > if (!pxcre) > return winInfo->core.dirtyconfig; > WinRootPos(winInfo, &oldX, &oldY); > oldWidth = winInfo->core.width; > oldHeight = winInfo->core.height; > > if ((pxcre->value_mask & (1<<3)) && (pxcre->height != oldHeight)) { > winInfo->core.height = pxcre->height; > winInfo->core.dirtyconfig |= (1<<3); > } > if ((pxcre->value_mask & (1<<2)) && (pxcre->width != oldWidth)) { > winInfo->core.width = pxcre->width; > winInfo->core.dirtyconfig |= (1<<2); > } > > > if (pxcre->value_mask & ((1<<0)|(1<<1))) > FrameSetPosAbsolute(winFrame, > (pxcre->value_mask & (1<<0)) ? (pxcre->x) : oldX, > (pxcre->value_mask & (1<<1)) ? (pxcre->y) : oldY); > if (pxcre->value_mask & ((1<<6) | (1<<5))) > GFrameSetStack(winFrame, pxcre->value_mask, pxcre->detail, pxcre->above); > return winInfo->core.dirtyconfig; >} > >static >vdmButtonPress(dpy, event, winInfo) > Display *dpy; > XEvent *event; > WinGeneric *winInfo; >{ >static VDMstuff stuff; >SemanticAction a; >ScreenInfo *scrInfo = winInfo->core.client->scrInfo; > > a = ResolveMouseBinding(dpy, event, ModMaskMap[MOD_CONSTRAIN] | > ModMaskMap[MOD_INVERT] | > ModMaskMap[MOD_REDUCE]); > switch(a) { > case ACTION_SELECT: > stuff.vdm = scrInfo->vdm; > stuff.pointerX = event->xbutton.x; > stuff.pointerY = event->xbutton.y; > stuff.gc = scrInfo->gc[ROOT_GC]; > stuff.initX = scrInfo->vdm->screenX; > stuff.initY = scrInfo->vdm->screenY; > stuff.numMoves = 0; > XDrawRectangle(stuff.vdm->client->dpy, > (((stuff.vdm->client)->framewin->fcore.panewin)->core.self), > stuff.gc, stuff.vdm->screenX, stuff.vdm->screenY, > stuff.vdm->screenWidth + 1, stuff.vdm->screenHeight); > InstallInterposer(vdmInterposer, &stuff); > break; > case ACTION_MENU: > MenuShowSync(dpy, winInfo, scrInfo->menuTable[MENU_VDM], > event, ((void *)0), ((void *)0), 0, 0); > break; > } >} > >static > >vdmRedraw(dpy, win) > Display *dpy; > WinGeneric *win; >{ > drawVDMGrid(win->core.client->dpy, win->core.client->scrInfo->vdm); >} > >static >vdmExit() >{ > fprintf(stderr, "VDM destroy\n"); >} > >static >vdmButtonRelease() >{ > > > >} > >static >vdmSetConfigure(dpy, winInfo) > Display *dpy; > WinVirtual *winInfo; >{ >XConfigureEvent ce; >XWindowChanges xwc; > > if (winInfo->core.dirtyconfig) { > xwc.x = winInfo->core.x; > xwc.y = winInfo->core.y; > xwc.width = winInfo->core.width; > xwc.height = winInfo->core.height; > ConfigureWindow(dpy, winInfo, > winInfo->core.dirtyconfig, &xwc); > winInfo->core.dirtyconfig &= ~((1<<0)|(1<<1)|(1<<2)|(1<<3)); > } > ce.type = 22; > ce.serial = 0L; > ce.event = winInfo->core.self; > ce.window = winInfo->core.self; > WinRootPos(winInfo, &ce.x, &ce.y); > ce.width = winInfo->core.width; > ce.height = winInfo->core.height; > ce.border_width = 0; > ce.above = 0L; > ce.override_redirect = 0; > > > > > vdmConfigure(dpy, &ce, winInfo); >} > >static >vdmButtonMotion() >{ > > > >} > >static >vdmNewpos(win, x, y) > WinVirtual *win; > int x, y; >{ > if (win->core.x != x) { > win->core.x = x; > win->core.dirtyconfig |= (1<<0); > } > if (win->core.y != y) { > win->core.y = y; > win->core.dirtyconfig |= (1<<1); > } > return win->core.dirtyconfig; >} > >static >vdmSelect() >{ >} > > > > >static int >vdmSetSize(win,w,h) >WinVirtual *win; >int w, h; >{ > if (win->core.width != w) { > win->core.width = w; > win->core.dirtyconfig |= (1<<2); > } > > if (win->core.height != h) { > win->core.height = h; > win->core.dirtyconfig |= (1<<3); > } >} > > > > >static >vdmSetupFrame(win, cli, frame) > WinGeneric *win; > Client *cli; > WinGenericFrame *frame; >{ > frame->fcore.panewin = (WinGenericPane *) win; > cli->scrInfo->vdm->client = cli; > cli->sticky = 1; > cli->flags |= (1L<<0); > win->core.parent = (WinGeneric *) frame; > WinAddChild(frame, win); > XReparentWindow(cli->dpy, win->core.self, frame->core.self, > win->core.x, win->core.y); > cli->wmHints->icon_pixmap = XCreateBitmapFromData(cli->dpy, > ((&((_XPrivDisplay)cli->dpy)->screens[cli->screen])->root), (char *) vdm_bits, > 64, 45); > cli->wmHints->icon_mask = XCreateBitmapFromData(cli->dpy, > ((&((_XPrivDisplay)cli->dpy)->screens[cli->screen])->root), (char *) vdmmask_bits, > 64, 45); >} > >static > >vdmComputeWidth(dpy, event, winInfo) > Display *dpy; > XEvent *event; > WinGeneric *winInfo; >{ >} > >static > >vdmComputeHeight(dpy, event, winInfo) > Display *dpy; > XEvent *event; > WinGeneric *winInfo; >{ >} > >static >vdmProperty(dpy, event, winInfo) >Display *dpy; >XPropertyEvent *event; >WinVirtual *winInfo; > >{ >Window pane; >XSizeHints sizeHints; >int preICCCM; >Client *cli = winInfo->core.client->scrInfo->vdm->client; > > switch(event->atom) { > case ((Atom) 40): > StateUpdateWMNormalHints(cli, event); > break; > > case ((Atom) 39): > FrameUpdateHeader(cli, event); > break; > } >} > > > > > > >static XTextProperty * >MakeWTitle(rsc) > VirtualResources *rsc; >{ >static XTextProperty newName; > > newName.value = (unsigned char *) strrchr(rsc->background, '/'); > if (!newName.value) > newName.value = (unsigned char *) rsc->background; > else newName.value++; > > newName.encoding = ((Atom) 31); > newName.format = 8; > newName.nitems = strlen((char*) newName.value); > > return &newName; >} > >void >SetWName(dpy, vdm) >Display *dpy; >VirtualDesktop *vdm; >{ > XSetWMName(dpy, (((vdm->client)->framewin->fcore.panewin)->core.self), > MakeWTitle(vdm->resources)); >} > >void >RedrawVDM(vdm) > VirtualDesktop *vdm; >{ > drawVDMGrid(vdm->client->dpy, vdm); >} > > >void >VirtualInit(dpy) > Display *dpy; > >{ > classVirtualPane.core.kind = WIN_VIRTUAL; > classVirtualPane.core.xevents[2] = vdmKeyPress; > classVirtualPane.core.xevents[4] = vdmButtonPress; > classVirtualPane.core.xevents[5] = vdmButtonRelease; > classVirtualPane.core.xevents[6] = vdmButtonMotion; > classVirtualPane.core.xevents[22] = vdmConfigure; > classVirtualPane.core.xevents[12] = vdmExpose; > classVirtualPane.core.xevents[28] = vdmProperty; > classVirtualPane.core.focusfunc = ((void *)0); > classVirtualPane.core.drawfunc = vdmRedraw; > classVirtualPane.core.destroyfunc = vdmExit; > classVirtualPane.core.selectfunc = vdmSelect; > classVirtualPane.core.newconfigfunc = vdmNewConfigure; > classVirtualPane.core.newposfunc = vdmNewpos; > classVirtualPane.core.setconfigfunc = vdmSetConfigure; > classVirtualPane.core.createcallback = vdmSetupFrame; > classVirtualPane.core.heightfunc = vdmComputeHeight; > classVirtualPane.core.widthfunc = vdmComputeWidth; > classVirtualPane.pcore.setsizefunc = vdmSetSize; >} > > > > > > >void >MakeVDM(dpy, scrInfo, client, rsc) > Display *dpy; > ScreenInfo *scrInfo; > Client *client; > VirtualResources *rsc; > >{ >static XTextProperty wName = {(unsigned char *) "Virtual Desktop", > ((Atom) 31), 8, 15 }; >static XTextProperty iName = {(unsigned char *) "Desktop", > ((Atom) 31), 8, 7 }; > XTextProperty *wTitle; > XSetWindowAttributes attr; > XSizeHints *sizeHints; > XWMHints *wmHints; > XClassHint *classHints; > unsigned attrMask; > WinVirtual *w; > VirtualDesktop *v; > > v = allocVirtualDesktop(dpy, scrInfo->screen, rsc); > w = ((WinVirtual *)MemAlloc((unsigned int)sizeof(WinVirtual))); > > sizeHints = XAllocSizeHints(); > sizeHints->flags = (1L << 8); > sizeHints->base_width = v->width; > sizeHints->base_height = v->height; > sizeHints->min_width = v->screenWidth; > sizeHints->min_height = v->screenHeight; > if (rsc->grid) { > sizeHints->flags = (1L << 4) | (1L << 6); > sizeHints->width_inc = v->screenWidth; > sizeHints->height_inc = v->screenHeight; > } > else sizeHints->flags = (1L << 4); > > > wmHints = XAllocWMHints(); > if (GRV.VirtualIconic) > wmHints->initial_state = 3; > else wmHints->initial_state = 1; > wmHints->flags = (1L << 1) | (1L << 0) | (1L << 3); > wmHints->input = 0; > > wmHints->icon_window = XCreateSimpleWindow(dpy, > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root), > 0, 0, 64, 45, 0, 0, > scrInfo->colorInfo.workspaceRootPixel); > > classHints = XAllocClassHint(); > classHints->res_name = "virtualDesktop"; > classHints->res_class = "olvwm"; > > attrMask = (1L<<11); > > if ((((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root_depth) == 1) && !rsc->background) { > attrMask |= (1L<<0); > attr.background_pixmap = XCreatePixmapFromBitmapData(dpy, > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root), > (char *) pixdata, 8, 2, > scrInfo->colorInfo.fgColor, scrInfo->colorInfo.bgColor, > 1); > } > else if (!rsc->background) { > attrMask |= (1L<<1); > attr.background_pixel = scrInfo->colorInfo.virtualBgColor; > } > else { > attrMask |= (1L<<0); > rsc->pixInfo.ncolors = 0; > rsc->pixInfo.colors = ((void *)0); > rsc->pixInfo.fg = scrInfo->colorInfo.virtualFgColor; > rsc->pixInfo.bg = scrInfo->colorInfo.virtualBgColor; > if (MakePixmap(dpy, scrInfo, rsc->background, &rsc->pixInfo)) { > attr.background_pixmap = rsc->pixInfo.pixmap; > sizeHints->flags |= (1L << 5); > sizeHints->max_width = rsc->pixInfo.width; > sizeHints->max_height = rsc->pixInfo.height; > } > else { > attr.background_pixmap = XCreatePixmapFromBitmapData(dpy, > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root), > (char *) pixdata, 8, 2, > scrInfo->colorInfo.fgColor, scrInfo->colorInfo.bgColor, > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root_depth)); > } > } > attr.event_mask = (1L<<15) | (1L<<2) | (1L<<3) | > (1L<<13) | (1L<<0) | (1L<<22); > > w->class = &classVirtualPane; > w->core.kind = WIN_VIRTUAL; > w->core.children = ((void *)0); > w->core.client = client; > w->core.x = sizeHints->x; > w->core.y = sizeHints->y; > w->core.width = sizeHints->base_width; > w->core.height = sizeHints->base_height; > w->core.dirtyconfig = (1<<0) | (1<<1) | (1<<2) | (1<<3); > w->core.exposures = ((void *)0); > w->core.helpstring = "olvwm:VDM"; > w->core.colormap = ((void *)0); > > w->core.self = XCreateWindow(dpy, ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root), > sizeHints->x, sizeHints->y, > sizeHints->base_width, sizeHints->base_height, > 0, > > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root_depth), 1, > 0L, attrMask, &attr); > wTitle = &wName; > if (rsc->pixInfo.pixmap != 0L) { > wTitle = MakeWTitle(rsc); > XFreePixmap(dpy, rsc->pixInfo.pixmap); > } > XSetWMProperties(dpy, w->core.self, wTitle, &iName, ((void *)0), 0, > sizeHints, wmHints, classHints); > > WIInstallInfo((WinGeneric *)w); > scrInfo->vdm = v; > > v->client = StateNew(dpy, ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->root), w->core.self, 0, w); > > > > > > ((WinIconPane *) v->client->iconwin->fcore.panewin)->iconPixmap = > v->client->wmHints->icon_pixmap; > ((WinIconPane *) v->client->iconwin->fcore.panewin)->iconMask = > v->client->wmHints->icon_mask; > VirtualSetGeometry(v->client->framewin, > v->client->scrInfo->vdm->resources->geometry); > VirtualSetGeometry(v->client->iconwin, > v->client->scrInfo->vdm->resources->iconGeometry); ># 1199 "virtual.c" >{ > int changed, dummy; > changed = XParseGeometry(v->client->scrInfo->vdm->resources->iconGeometry, &dummy, &dummy, &dummy, &dummy); > if (changed & (0x0001 | 0x0002)) { > v->client->iconwin->fManuallyPositioned = 1; > } >} > > > XFree((char *) sizeHints); > XFree((char *) wmHints); > XFree((char *) classHints); >} > >void >DestroyVDM(dpy, vdm, cm) > Display *dpy; > VirtualDesktop *vdm; > Colormap *cm; >{ > FreePixmapColors(dpy, vdm->resources->pixInfo.ncolors, > vdm->resources->pixInfo.colors, cm); > MemFree(vdm->resources); > MemFree(vdm); >} > >void >InitVDMMenu(dpy, scrInfo) > Display *dpy; > ScreenInfo *scrInfo; >{ > char title[20]; > Button *vdmButtons[9]; > > > > sprintf(title, "OLVWM 4.%0d", 4); > vdmButtons[0] = MakeUpLeftButton(dpy, scrInfo); > vdmButtons[1] = MakeLeftButton(dpy, scrInfo); > vdmButtons[2] = MakeDownLeftButton(dpy, scrInfo); > vdmButtons[3] = MakeUpButton(dpy, scrInfo); > vdmButtons[4] = MakeHomeButton(dpy, scrInfo); > vdmButtons[5] = MakeDownButton(dpy, scrInfo); > vdmButtons[6] = MakeUpRightButton(dpy, scrInfo); > vdmButtons[7] = MakeRightButton(dpy, scrInfo); > vdmButtons[8] = MakeDownRightButton(dpy, scrInfo); > scrInfo->menuTable[MENU_VDM] = CreateMenu((__extension__ (__builtin_constant_p (title) && ((size_t)(const void *)((title) + 1) - (size_t)(const void *)(title) == 1) ? (((__const char *) (title))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen (title) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, title, __len); __retval; })) : __strdup (title))), vdmButtons, > sizeof(vdmButtons)/sizeof(vdmButtons[0]), > 1, "olvwm:MotionMenu"); > scrInfo->menuTable[MENU_VDM]->prefColSize = 3; > scrInfo->menuTable[MENU_VDM]->buttonDefault = 4; >} > > > > >void >MakeVirtual(cli) > Client *cli; > >{ >int width, height; >int x, y; >Window virtual; > > > > > width = cli->framewin->core.width / cli->scrInfo->vdm->resources->scale - 1; > height = cli->framewin->core.height / cli->scrInfo->vdm->resources->scale-1; > > x = cli->framewin->core.x / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenX; > y = cli->framewin->core.y / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenY; > > if (width <= 0) > width = 1; > if (height <= 0) > height = 1; > virtual = XCreateSimpleWindow(cli->dpy, > (((cli->scrInfo->vdm->client)->framewin->fcore.panewin)->core.self), > x, y, width, height, 1, cli->scrInfo->colorInfo.borderColor, > cli->scrInfo->colorInfo.virtualFgColor); > if ((((cli)->framewin->fcore.panewin)->core.self) != (((cli->scrInfo->vdm->client)->framewin->fcore.panewin)->core.self)) > XSelectInput(cli->dpy, virtual, ((1L<<2) | (1L<<3) | (1L<<13) | (1L<<15) )); > else XSelectInput(cli->dpy, virtual, (1L<<15)); > cli->framewin->core.virtual = virtual; > VInstallInfo(cli->framewin); > MakeVirtualIcon(cli); >} > >MakeVirtualIcon(cli) > Client *cli; > >{ >int width, height; >int x, y; > > width = cli->iconwin->core.width / cli->scrInfo->vdm->resources->scale; > height = cli->iconwin->core.height / cli->scrInfo->vdm->resources->scale; > > x = cli->iconwin->core.x / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenX; > y = cli->iconwin->core.y / cli->scrInfo->vdm->resources->scale + > cli->scrInfo->vdm->screenY; > > if (width <= 0) > width = 1; > if (height <= 0) > height = 1; > cli->iconwin->core.virtual = XCreateSimpleWindow(cli->dpy, > (((cli->scrInfo->vdm->client)->framewin->fcore.panewin)->core.self), > x, y, width, height, 1, > cli->scrInfo->colorInfo.borderColor, > cli->scrInfo->colorInfo.virtualFgColor); > XSelectInput(cli->dpy, cli->iconwin->core.virtual, ((1L<<2) | (1L<<3) | (1L<<13) | (1L<<15) )); > VInstallInfo(cli->iconwin); >} > > > > >void >VirtualChangeFocus(win, focus) > WinGenericFrame *win; > int focus; >{ >int length; > > switch(win->core.kind) { > case WIN_ICON: > length = ((WinIconFrame *) win)->nameLength; > break; > case WIN_FRAME: > length = ((WinPaneFrame *) win)->nameLength; > break; > default: > return; > } > if (focus) > XSetWindowBackground(win->core.client->dpy, win->core.virtual, > win->core.client->scrInfo->colorInfo.virtualInputColor); > else XSetWindowBackground(win->core.client->dpy, win->core.virtual, > win->core.client->scrInfo->colorInfo.virtualFgColor); > PaintVirtualWindow(win); > CheckBindingState(win, focus); >} > > > > >int >PaintVirtualWindow(win) > WinGenericFrame *win; >{ >Client *cli = win->core.client; >int length; > > switch(win->core.kind) { > case WIN_ICON: > length = ((WinIconFrame *) win)->nameLength; > break; > case WIN_FRAME: > length = ((WinPaneFrame *) win)->nameLength; > break; > default: > return; > } > XClearArea(cli->dpy, win->core.virtual, 0, 0, 0, 0, 0); > if (cli->isBusy) > XFillRectangle(cli->dpy, win->core.virtual, ((win)->core.client->scrInfo->gc[(BUSY_GC)]), > 0, 0, win->core.width, win->core.height); > XDrawImageString(cli->dpy, win->core.virtual, > (cli->isFocus) ? cli->scrInfo->gc[VDM_INPUT_GC] : > cli->scrInfo->gc[VDM_GC], > 1, cli->scrInfo->vdm->max_ascent + 1, > win->fcore.name, length); >} > > > > >DispatchVirtual(dpy, event) > Display *dpy; > XEvent *event; >{ >WinGeneric *win, *VGetInfo(); >static SemanticAction currentVDMAction; >unsigned int ignoremask; > > if (event->xany.type == 11 || event->xany.type == 34) > return 0; > win = VGetInfo(event->xany.window); > if (!win) > return 0; > switch(event->xany.type) { > case 12: > PaintVirtualWindow(win); > break; ># 1409 "virtual.c" > case 4: > ignoremask = ModMaskMap[MOD_CONSTRAIN] | > ModMaskMap[MOD_INVERT] | > ModMaskMap[MOD_REDUCE]; > currentVDMAction = ResolveMouseBinding(dpy, event, ignoremask); > if (currentVDMAction == ACTION_NONE) > return 1; > if ((currentVDMAction == ACTION_SELECT) && > (event->xbutton.time - lastSelectTime <= GRV.DoubleClickTime)) { > > > > > > > > translateVirtualCoords(win->core.client->scrInfo->vdm, > &event->xmotion.x_root, &event->xmotion.y_root, > &event->xmotion.x, &event->xmotion.y); > VDMMoveTo(win->core.client->dpy, win->core.client, > event->xbutton.x_root, event->xbutton.y_root); > return 1; > } > if (currentVDMAction == ACTION_MENU) > translateVirtualCoords(win->core.client->scrInfo->vdm, > ((void *)0), ((void *)0), > &event->xmotion.x, &event->xmotion.y); > else translateVirtualCoords(win->core.client->scrInfo->vdm, > &event->xmotion.x_root, &event->xmotion.y_root, > &event->xmotion.x, &event->xmotion.y); > GFrameEventButtonPress(dpy, event, win); > break; > > case 6: > translateVirtualCoords(win->core.client->scrInfo->vdm, > &event->xmotion.x_root, &event->xmotion.y_root, > &event->xmotion.x, &event->xmotion.y); > GFrameEventMotionNotify(dpy, event, win); > break; > > case 5: > if (currentVDMAction == ACTION_NONE) > return 1; > if (currentVDMAction == ACTION_MENU) > translateVirtualCoords(win->core.client->scrInfo->vdm, > ((void *)0), ((void *)0), > &event->xmotion.x, &event->xmotion.y); > else translateVirtualCoords(win->core.client->scrInfo->vdm, > &event->xmotion.x_root, &event->xmotion.y_root, > &event->xmotion.x, &event->xmotion.y); > GFrameEventButtonRelease(dpy, event, win); > if (currentVDMAction == ACTION_SELECT) > lastSelectTime = event->xbutton.time; > currentVDMAction = ACTION_NONE; > break; > > default: > fprintf(stderr, "unwanted %d event\n", event->xany.type); > break; > } > return 1; >} > >MakeSticky(cli, sticky) > Client *cli; > int sticky; > >{ >int x, y; > > > > > if (cli->groupid == (((cli->scrInfo->vdm->client)->framewin->fcore.panewin)->core.self) && !sticky) { > if (GRV.Beep == BeepAlways) > XBell(cli->dpy, 100); > return !((void *)0); > } > cli->sticky = sticky; > if (sticky && !GRV.VirtualDrawSticky) > XUnmapWindow(cli->dpy, (cli->wmState == 3) ? > cli->iconwin->core.virtual : > cli->framewin->core.virtual); > else XMapWindow(cli->dpy, (cli->wmState == 3) ? > cli->iconwin->core.virtual : > cli->framewin->core.virtual); > if (cli->sticky) { > x = cli->framewin->core.x; > y = cli->framewin->core.y; > cli->framewin->core.dirtyconfig |= (1<<0); > GFrameSetConfig(cli->framewin, x, y, > cli->framewin->core.width, cli->framewin->core.height); > > x = cli->iconwin->core.x; > y = cli->iconwin->core.y; > cli->iconwin->core.dirtyconfig |= (1<<0); > IconSetPos(cli->iconwin, x + 3, y + 3); > WinCallConfig(cli->dpy, cli->iconwin, ((void *)0)); > } > return ((void *)0); >} > > > > >KeyMoveVDM(dpy, ev) > Display *dpy; > XEvent *ev; >{ >VirtualDesktop *vdm; >WinGeneric *root; >SemanticAction a; > > if (ev->xany.type != 2) > > return 0; > > root = WIGetInfo(ev->xkey.root); > if (!root) { > > return 0; > } > if (!root->core.client) { > return 0; > } > if (!root->core.client->scrInfo) { > return 0; > } > vdm = root->core.client->scrInfo->vdm; > > a = FindNewKeyboardAction(dpy, ev); > if (a == ACTION_NONE) > return 0; > if (a == ACTION_VIRTUAL) > return CheckForKeyProg(dpy, ev); > > return vdmPerformAction(dpy, vdm, a); >} > > > > >VirtualSelect(win, sel) > WinGeneric *win; > int sel; > >{ > if (win->core.virtual) > XSetWindowBorderWidth(win->core.client->dpy, > win->core.virtual, (sel) ? 2 : 1); >} > > > > > > >VirtualSaveDesktops(dpy, x, y) > Display *dpy; > int x, y; >{ >struct deltas deltas; >ScreenInfo *si; >List *l = ScreenInfoList; > > for (si = ListEnum(&l); si; si = ListEnum(&l)) { > si->vdm->saveX = si->vdm->offsetX; > si->vdm->saveY = si->vdm->offsetY; > deltas.delta_x = si->vdm->offsetX - x; > deltas.delta_y = si->vdm->offsetY - y; > moveDesktop(dpy, &deltas, si->vdm); > } >} > >VirtualRestoreDesktops(dpy) > Display *dpy; >{ >struct deltas deltas; >ScreenInfo *si; >List *l = ScreenInfoList; > > for (si = ListEnum(&l); si; si = ListEnum(&l)) { > deltas.delta_x = -si->vdm->saveX; > deltas.delta_y = -si->vdm->saveY; > moveDesktop(dpy, &deltas, si->vdm); > } >} > >VirtualCleanup(dpy) > Display *dpy; > >{ > VirtualSaveDesktops(dpy, 0, 0); >} > >ResizeVDM(vdm, size) > VirtualDesktop *vdm; > char *size; >{ >WinGenericFrame *win; > > win = (WinGenericFrame *) vdm->client->framewin; > if (vdm->resources->size) > free(vdm->resources->size); > vdm->resources->size = (__extension__ (__builtin_constant_p (size) && ((size_t)(const void *)((size) + 1) - (size_t)(const void *)(size) == 1) ? (((__const char *) (size))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen (size) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, size, __len); __retval; })) : __strdup (size))); > calculateVirtualDesktopSize(vdm->client->dpy, vdm->client->screen, vdm); > GFrameSetConfig(win, win->core.x, win->core.y, > vdm->width + (((win)->class->fcore.widthleft))(win) + > (((win)->class->fcore.widthright))(win), > vdm->height + (((win)->class->fcore.heighttop))(win) + > (((win)->class->fcore.heightbottom))(win)); >} > > > > > > > >static void * >remakeVirtual(cli) > Client *cli; >{ >Display *dpy = cli->dpy; > > if (cli->framewin) { > VUninstallInfo(cli->framewin->core.virtual); > VUninstallInfo(cli->iconwin->core.virtual); > XDestroyWindow(dpy, cli->framewin->core.virtual); > XDestroyWindow(dpy, cli->iconwin->core.virtual); > MakeVirtual(cli); > if (!cli->sticky || GRV.VirtualDrawSticky) > XMapWindow(dpy, (cli->wmState == 3) ? > cli->iconwin->core.virtual : > cli->framewin->core.virtual); > } > return ((void *)0); >} > >static void * >restickVirtual(cli) > Client *cli; >{ > if (!cli->iconwin || !cli->framewin) > return ((void *)0); > if (cli->sticky && !GRV.VirtualDrawSticky) > XUnmapWindow(cli->dpy, (cli->wmState == 3) ? > cli->iconwin->core.virtual : > cli->framewin->core.virtual); > else XMapWindow(cli->dpy, (cli->wmState == 3) ? > cli->iconwin->core.virtual : > cli->framewin->core.virtual); > return ((void *)0); >} > >static void >updateVirtualWindow(cli) > Client *cli; > >{ >Display *dpy = cli->dpy; > > if (cli->framewin) { > XSetWindowBackground(dpy, cli->framewin->core.virtual, > cli->scrInfo->colorInfo.virtualFgColor); > XSetWindowBackground(dpy, cli->iconwin->core.virtual, > cli->scrInfo->colorInfo.virtualFgColor); > } >} > > > > >RescaleVDM(vdm, scale) > VirtualDesktop *vdm; > int scale; > >{ >int orig_scale; >WinGenericFrame *win; > > orig_scale = vdm->resources->scale; > vdm->resources->scale = scale; > calculateVirtualDesktopSize(vdm->client->dpy, vdm->client->screen, vdm); > vdm->screenX = (vdm->screenX * orig_scale) / scale; > vdm->screenY = (vdm->screenY * orig_scale) / scale; > vdm->client->normHints->width_inc = vdm->screenWidth; > vdm->client->normHints->height_inc = vdm->screenHeight; > win = (WinGenericFrame *) vdm->client->framewin; > GFrameSetConfig(win, win->core.x, win->core.y, > vdm->width + (((win)->class->fcore.widthleft))(win) + > (((win)->class->fcore.widthright))(win), > vdm->height + (((win)->class->fcore.heighttop))(win) + > (((win)->class->fcore.heightbottom))(win)); > ListApply(ActiveClientList, remakeVirtual, 0); >} > >VirtualUpdateVirtualWindows(cli) > Client *cli; >{ > ListApply(ActiveClientList, updateVirtualWindow, 0); > ClientRefresh(cli); >} > >VirtualUpdateDrawSticky(cli) > Client *cli; >{ > ListApply(ActiveClientList, restickVirtual, 0); > ClientRefresh(cli); >} > > > > >VirtualSetGeometry(win, geom) > WinGeneric *win; > char *geom; >{ >int changed; >int newx, newy, x, y; >unsigned int w, h; >Display *dpy = win->core.client->dpy; >ScreenInfo *scrInfo = win->core.client->scrInfo; > > changed = XParseGeometry(geom, &x, &y, &w, &h); > if (changed & (0x0001 | 0x0002)) { > if (changed & 0x0001) > if (changed & 0x0010) > newx = ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->width) + x - win->core.width; > else newx = x; > else newx = win->core.x; > w = win->core.width; > if (newx > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->width) - w) > newx = ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->width) - w; > if (changed & 0x0002) > if (changed & 0x0020) > newy = ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->height) + y - win->core.height; > else newy = y; > else newy = win->core.y; > h = win->core.height; > if (newy > ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->height) - h) > newy = ((&((_XPrivDisplay)dpy)->screens[scrInfo->screen])->height) - h; > GFrameSetConfig(win, newx, newy, win->core.width, win->core.height); > } >} > > > > >int > >VDMMenuAction(dpy, winInfo, menuInfo, btn) > Display *dpy; > WinPinMenu *winInfo; > MenuInfo *menuInfo; > int btn; > >{ > > if (!vdmPerformAction(dpy, winInfo->core.client->scrInfo->vdm, > vdmButtonActions[btn]) && GRV.Beep == BeepAlways) > XBell(dpy, 100); >} > > > > > > > >VDMMoveTo(dpy, client, x, y) > Display *dpy; > Client *client; > int x, y; >{ >int dw, dh; >struct deltas deltas; > > dw = ((&((_XPrivDisplay)dpy)->screens[client->screen])->width); > dh = ((&((_XPrivDisplay)dpy)->screens[client->screen])->height); > deltas.delta_x = ((x - client->scrInfo->vdm->offsetX) / dw) * dw > + client->scrInfo->vdm->offsetX; > deltas.delta_y = ((y - client->scrInfo->vdm->offsetY) / dh) * dh > + client->scrInfo->vdm->offsetY; > constrainDeltas(dpy, client->scrInfo->vdm, &deltas); > moveDesktop(dpy, &deltas, client->scrInfo->vdm); >} > > > > > >VDMGoto(dpy, client, screen) > Display *dpy; > Client *client; > int screen; >{ >int dw, dh; > > screen--; > dw = ((&((_XPrivDisplay)dpy)->screens[client->screen])->width); > dh = ((&((_XPrivDisplay)dpy)->screens[client->screen])->height); > VDMMoveTo(dpy, client, dw * (screen % client->scrInfo->vdm->columns) + > client->scrInfo->vdm->offsetX, > dh * (screen / client->scrInfo->vdm->columns) + > client->scrInfo->vdm->offsetY); >} > >MoveDesktopFunc(dpy, wininfo, menuinfo, btn) > Display *dpy; > WinGeneric *wininfo; > MenuInfo *menuinfo; > int btn; >{ >int n, x, y; > > n = sscanf(menuinfo->menu->buttons[btn]->generate_args, "%d%d", &x, &y); > switch(n) { > default: > VDMMoveTo(dpy, wininfo->core.client, x, y); > break; > case 1: > VDMGoto(dpy, wininfo->core.client, x); > break; > case 0: > fprintf(stderr, "olvwm: Bad movedesktop switch\n"); > break; > } >} ># 1847 "virtual.c" >MapWindow(win) > WinGeneric *win; >{ > XSetWindowBorderWidth(win->core.client->dpy, > win->core.virtual, (win->core.client->isSelected) ? 2 : 1); > XMapWindow(win->core.client->dpy, win->core.self); > if (GRV.VirtualDrawSticky || !win->core.client->sticky) > XMapWindow(win->core.client->dpy, win->core.virtual); > if (GRV.VirtualRaiseVDM && win->core.client->scrInfo->vdm->client) > RaiseWindow(win->core.client->scrInfo->vdm->client->framewin); >} > >UnmapWindow(win) > WinGeneric *win; >{ > XUnmapWindow(win->core.client->dpy, win->core.self); > if (GRV.VirtualDrawSticky || !win->core.client->sticky) > XUnmapWindow(win->core.client->dpy, win->core.virtual); >} > >MapRaised(win) > WinGeneric *win; >{ > XSetWindowBorderWidth(win->core.client->dpy, > win->core.virtual, (win->core.client->isSelected) ? 2 : 1); > XMapRaised(win->core.client->dpy, win->core.self); > if (GRV.VirtualDrawSticky || !win->core.client->sticky) > XMapRaised(win->core.client->dpy, win->core.virtual); > if (GRV.VirtualRaiseVDM && win->core.client->scrInfo->vdm->client) > RaiseWindow(win->core.client->scrInfo->vdm->client->framewin); >} > >RaiseWindow(win) > WinGeneric *win; >{ > XRaiseWindow(win->core.client->dpy, win->core.self); > XRaiseWindow(win->core.client->dpy, win->core.virtual); > if (GRV.VirtualRaiseVDM && > win->core.client->scrInfo->vdm->client && > win->core.client->scrInfo->vdm->client && > win->core.self != win->core.client->scrInfo->vdm->client->framewin->core.self) > RaiseWindow(win->core.client->scrInfo->vdm->client->framewin); >} > >LowerWindow(win) > WinGeneric *win; >{ > XLowerWindow(win->core.client->dpy, win->core.self); > XLowerWindow(win->core.client->dpy, win->core.virtual); > if (GRV.VirtualRaiseVDM) > RaiseWindow(win->core.client->scrInfo->vdm->client->framewin); >} > >DestroyWindow(win) > WinGeneric *win; >{ > XDestroyWindow(win->core.client->dpy, win->core.self); > WIUninstallInfo(win->core.self); > if (win->core.virtual) > XDestroyWindow(win->core.client->dpy, win->core.virtual); >} > >DeleteProperty(dpy, win, atom) > Display *dpy; > WinGenericFrame *win; > Atom atom; > >{ > XDeleteProperty(dpy, win->core.self, atom); > if (win->core.virtual) > XDeleteProperty(dpy, win->core.virtual, atom); >} > >ChangeProperty(dpy, win, property, type, format, mode, data, nelements) > Display *dpy; > WinGenericFrame *win; > Atom property, type; > int format; > int mode; > unsigned char *data; > int nelements; >{ > XChangeProperty(dpy, win->core.self, property, type, format, > mode, data, nelements); > if (win->core.virtual) > XChangeProperty(dpy, win->core.virtual, property, type, format, > mode, data, nelements); >} > >ConfigureWindow(dpy, win, mask, values) > Display *dpy; > WinGeneric *win; > int mask; > XWindowChanges *values; > >{ >int scale; >WinGeneric *tmp; >VirtualDesktop *vdm; > > vdm = win->core.client->scrInfo->vdm; > > > > if (win->core.x + (int) win->core.width < vdm->offsetX) { > win->core.x = vdm->offsetX; > win->core.dirtyconfig |= (1<<0); > } > else if (win->core.x > vdm->absoluteWidth + vdm->offsetX) { > win->core.x = vdm->absoluteWidth + vdm->offsetX - win->core.width; > win->core.dirtyconfig |= (1<<0); > } > if (win->core.y + (int) win->core.height < vdm->offsetY) { > win->core.y = vdm->offsetY; > win->core.dirtyconfig |= (1<<1); > } > else if (win->core.y > vdm->absoluteHeight + vdm->offsetY) { > win->core.y = vdm->absoluteHeight + vdm->offsetY - win->core.height; > win->core.dirtyconfig |= (1<<1); > } > > scale = vdm->resources->scale; > XConfigureWindow(dpy, win->core.self, mask, values); > if (mask & (1<<0)) > values->x = (win->core.x - vdm->offsetX) / scale; > if (mask & (1<<1)) > values->y = (win->core.y - vdm->offsetY) / scale; > if (mask & (1<<2)) > values->width = win->core.width / scale; > if (mask & (1<<3)) > values->height = win->core.height / scale; > if (mask & (1<<5)) { > tmp = WIGetInfo(values->sibling); > if (tmp) { > values->sibling = tmp->core.virtual; > } > else { > mask |= ~((1<<5)|(1<<6)); > } > } > XConfigureWindow(dpy, win->core.virtual, mask, values); > if (GRV.VirtualRaiseVDM) > RaiseWindow(vdm->client->framewin); >} > > > > > > >static int >cmpButton(b1, b2) > Button **b1, **b2; > >{ > return __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((*b1)->label[0].string) && __builtin_constant_p ((*b2)->label[0].string) && (__s1_len = strlen ((*b1)->label[0].string), __s2_len = strlen ((*b2)->label[0].string), (!((size_t)(const void *)(((*b1)->label[0].string) + 1) - (size_t)(const void *)((*b1)->label[0].string) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((*b2)->label[0].string) + 1) - (size_t)(const void *)((*b2)->label[0].string) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((*b1)->label[0].string, (*b2)->label[0].string) : (__builtin_constant_p ((*b1)->label[0].string) && ((size_t)(const void *)(((*b1)->label[0].string) + 1) - (size_t)(const void *)((*b1)->label[0].string) == 1) && (__s1_len = strlen ((*b1)->label[0].string), __s1_len < 4) ? (__builtin_constant_p ((*b2)->label[0].string) && ((size_t)(const void *)(((*b2)->label[0].string) + 1) - (size_t)(const void *)((*b2)->label[0].string) == 1) ? __builtin_strcmp ((*b1)->label[0].string, (*b2)->label[0].string) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((*b2)->label[0].string); register int __result = (((__const unsigned char *) (__const char *) ((*b1)->label[0].string))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((*b1)->label[0].string))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((*b1)->label[0].string))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((*b1)->label[0].string))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((*b2)->label[0].string) && ((size_t)(const void *)(((*b2)->label[0].string) + 1) - (size_t)(const void *)((*b2)->label[0].string) == 1) && (__s2_len = strlen ((*b2)->label[0].string), __s2_len < 4) ? (__builtin_constant_p ((*b1)->label[0].string) && ((size_t)(const void *)(((*b1)->label[0].string) + 1) - (size_t)(const void *)((*b1)->label[0].string) == 1) ? __builtin_strcmp ((*b1)->label[0].string, (*b2)->label[0].string) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((*b1)->label[0].string); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((*b2)->label[0].string))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((*b2)->label[0].string))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((*b2)->label[0].string))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((*b2)->label[0].string))[3]); } } __result; }))) : __builtin_strcmp ((*b1)->label[0].string, (*b2)->label[0].string)))); }); > >} > > > > > > >GenDirMenuFunc(dpy, menuInfo, bindex, cache, winInfo, depth) > Display *dpy; > MenuInfo *menuInfo; > int bindex; > MenuCache *cache; > WinGeneric *winInfo; > int depth; > >{ >struct _menu *menu; >DIR *dir; >struct dirent *ent; >Button *b; >char s[255], dirname[4096 - 255], *newname, *ExpandPath(); >char pattern[255]; >extern int AppMenuFunc(); >MenuCache *menuCache; >int slot; > > menuCache = winInfo->core.client->scrInfo->menuCache; > for (slot = 0; slot < menuCache->nextSlot; slot++) > if (menuInfo->buttons[bindex].subMenu == menuCache->menuInfoList[slot]) > break; > if (slot == menuCache->nextSlot) > slot = (-1); > > MenuInfoDestroy(menuInfo->buttons[bindex].subMenu); > menu = (Menu *) MemAlloc(sizeof(Menu)); > menu->buttons = ((void *)0); > menu->buttonCount = 0; > menu->buttonDefault = -1; > menu->hasPushPin = 0; > menu->menudirty = 1; > menu->btnPerCol = 0; > menu->maxLabWidth = 0; > menu->prefColSize = 0; > > pattern[0] = '\0'; > if ((newname = ExpandPath(menuInfo->menu->buttons[bindex]->generate_args, > 1)) == ((void *)0)) > strcpy(dirname, (char *) menuInfo->menu->buttons[bindex]->generate_args); > else { > strcpy(dirname, newname); > MemFree(newname); > } > if ((dir = opendir(dirname)) == ((void *)0)) { > if (newname = strrchr(dirname, '/')) { > strcpy(pattern, newname + 1); > dirname[strlen(dirname) - strlen(pattern) - 1] = '\0'; > rexInit(pattern); > } > if ((newname == ((void *)0)) || ((dir = opendir(dirname)) == ((void *)0))) { > ErrorWarning("An invalid directory was named for DIRMENU"); > menuInfo->buttons[bindex].subMenu = > MenuInfoCreate(cache, winInfo, menu, depth, slot); > return; > } > } > while (ent = readdir(dir)) { > if (ent->d_name[0] == '.') > continue; > if (pattern[0] && !rexMatch(ent->d_name)) > continue; > > b = (Button *) MemAlloc(sizeof(Button)); > if (!menu->buttonCount++) > menu->buttons = (Button **) MemAlloc(sizeof(Button *)); > else menu->buttons = (Button **) > MemRealloc(menu->buttons, menu->buttonCount * sizeof(Button *)); > menu->buttons[menu->buttonCount - 1] = b; > b->label[0].kind = StringLabel; > b->label[1].kind = NoType; > sprintf(s, "exec %s/%s", dirname, ent->d_name); > b->label[0].string = (strcpy((char *)MemAlloc(strlen(ent->d_name)+1),ent->d_name)); > b->label[1].string = ((void *)0); > b->helpstring[0] = b->helpstring[1] = ((void *)0); > b->which = 0; > b->has_submenu = 0; > b->enabled = 1; > b->visible = 1; > b->callback = AppMenuFunc; > b->action.submenu = (void *) (strcpy((char *)MemAlloc(strlen(s)+1),s)); > b->generate_func = ((void *)0); > } > closedir(dir); > if (GRV.VirtualDirSort == SortAlpha || GRV.VirtualDirSort == SortAlphaAll) > qsort(menu->buttons, menu->buttonCount, sizeof(Button *), cmpButton); > menuInfo->buttons[bindex].subMenu = > MenuInfoCreate(cache, winInfo, menu, depth, slot); >} > >static regexp_err(val) >int val; >{ > switch(val) { > case 11: > ErrorWarning("DIRMENU: Range endpoint too large.\n"); > break; > case 16: > ErrorWarning("DIRMENU: Bad number.\n"); > break; > case 25: > ErrorWarning("DIRMENU: ``\\ digit'' out of range.\n"); > break; > case 36: > ErrorWarning("DIRMENU: Illegal or missing delimiter.\n"); > break; > case 41: > ErrorWarning("DIRMENU: No remembered search string.\n"); > break; > case 42: > ErrorWarning("DIRMENU: \\( \\) imbalance.\n"); > break; > case 43: > ErrorWarning("DIRMENU: Too many \\(.\n"); > break; > case 44: > ErrorWarning("DIRMENU: More than 2 numbers given in \\{ \\}.\n"); > break; > case 45: > > ErrorWarning("DIRMENU: } expected after \\.\n"); > break; > case 46: > ErrorWarning("DIRMENU: First number exceeds second in \\{ \\}.\n"); > break; > case 49: > ErrorWarning("DIRMENU: [] imbalance.\n"); > break; > case 50: > ErrorWarning("DIRMENU: Regular expression too long.\n"); > break; > default: > ErrorWarning("DIRMENU: Unexpected Error Code\n"); > break; > } >} > >static char expbuf[256]; > >static >rexMatch(string) > char *string; >{ > > > > return step(string,expbuf); > >} > >static >rexInit(pattern) > char *pattern; >{ >int i, j, n; >char newPattern[256]; > > strcpy(newPattern,""); > n = strlen(pattern); > newPattern[0] = '^'; > for(i = 0, j = 1; i < n; i++) { > switch(pattern[i]) { > case '?': > newPattern[j++] = '.'; > break; > case '*': > if (i == 0) > newPattern[j++] = '.'; > newPattern[j++] = '*'; > break; > case '.': > newPattern[j++] = '\\'; > newPattern[j++] = '.'; > break; > default: > newPattern[j++] = pattern[i]; > } > } > newPattern[j++] = '$'; > newPattern[j++] = '\0'; ># 2202 "virtual.c" > compile(newPattern, expbuf, &expbuf[256], '\0'); > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 446406
: 305367