site.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /************************************************************
  2. Copyright 1987, 1998 The Open Group
  3. Permission to use, copy, modify, distribute, and sell this software and its
  4. documentation for any purpose is hereby granted without fee, provided that
  5. the above copyright notice appear in all copies and that both that
  6. copyright notice and this permission notice appear in supporting
  7. documentation.
  8. The above copyright notice and this permission notice shall be included in
  9. all copies or substantial portions of the Software.
  10. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  11. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  12. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  13. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  14. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  15. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  16. Except as contained in this notice, the name of The Open Group shall not be
  17. used in advertising or otherwise to promote the sale, use or other dealings
  18. in this Software without prior written authorization from The Open Group.
  19. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  20. All Rights Reserved
  21. Permission to use, copy, modify, and distribute this software and its
  22. documentation for any purpose and without fee is hereby granted,
  23. provided that the above copyright notice appear in all copies and that
  24. both that copyright notice and this permission notice appear in
  25. supporting documentation, and that the name of Digital not be
  26. used in advertising or publicity pertaining to distribution of the
  27. software without specific, written prior permission.
  28. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  29. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  30. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  31. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  32. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  33. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  34. SOFTWARE.
  35. ********************************************************/
  36. #ifndef SITE_H
  37. #define SITE_H
  38. /*
  39. * The vendor string identifies the vendor responsible for the
  40. * server executable.
  41. */
  42. #ifndef VENDOR_STRING
  43. #define VENDOR_STRING "The X.Org Group"
  44. #endif
  45. /*
  46. * The vendor release number identifies, for the purpose of submitting
  47. * traceable bug reports, the release number of software produced
  48. * by the vendor.
  49. */
  50. #ifndef VENDOR_RELEASE
  51. #define VENDOR_RELEASE 6600
  52. #endif
  53. /*
  54. * The following constants are provided solely as a last line of defense. The
  55. * normal build ALWAYS overrides them using a special rule given in
  56. * server/dix/Imakefile. If you want to change either of these constants,
  57. * you should set the DefaultFontPath or DefaultRGBDatabase configuration
  58. * parameters.
  59. * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
  60. */
  61. #ifndef COMPILEDDEFAULTFONTPATH
  62. #define COMPILEDDEFAULTFONTPATH "/usr/lib/X11/fonts/misc/"
  63. #endif
  64. /*
  65. * The following constants contain default values for all of the variables
  66. * that can be initialized on the server command line or in the environment.
  67. */
  68. #define COMPILEDDEFAULTFONT "fixed"
  69. #define COMPILEDCURSORFONT "cursor"
  70. #ifndef COMPILEDDISPLAYCLASS
  71. #define COMPILEDDISPLAYCLASS "MIT-unspecified"
  72. #endif
  73. #define DEFAULT_TIMEOUT 60 /* seconds */
  74. #define DEFAULT_KEYBOARD_CLICK 0
  75. #define DEFAULT_BELL 50
  76. #define DEFAULT_BELL_PITCH 400
  77. #define DEFAULT_BELL_DURATION 100
  78. #define DEFAULT_AUTOREPEAT FALSE
  79. #define DEFAULT_AUTOREPEATS {\
  80. 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
  81. 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,\
  82. 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
  83. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
  84. #define DEFAULT_LEDS 0x0 /* all off */
  85. #define DEFAULT_LEDS_MASK 0xffffffff /* 32 */
  86. #define DEFAULT_INT_RESOLUTION 1000
  87. #define DEFAULT_INT_MIN_VALUE 0
  88. #define DEFAULT_INT_MAX_VALUE 100
  89. #define DEFAULT_INT_DISPLAYED 0
  90. #define DEFAULT_PTR_NUMERATOR 2
  91. #define DEFAULT_PTR_DENOMINATOR 1
  92. #define DEFAULT_PTR_THRESHOLD 4
  93. #define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
  94. #define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
  95. #define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
  96. #define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
  97. #ifndef NOLOGOHACK
  98. #define DEFAULT_LOGO_SCREEN_SAVER 1
  99. #endif
  100. #ifndef DEFAULT_ACCESS_CONTROL
  101. #define DEFAULT_ACCESS_CONTROL TRUE
  102. #endif
  103. /* Default logging parameters. */
  104. #ifndef DEFAULT_LOG_VERBOSITY
  105. #define DEFAULT_LOG_VERBOSITY 0
  106. #endif
  107. #ifndef DEFAULT_LOG_FILE_VERBOSITY
  108. #define DEFAULT_LOG_FILE_VERBOSITY 3
  109. #endif
  110. #endif /* SITE_H */