home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / WEBSERVE / PI3 / PI3WEB.EXE / DEVEL / INCLUDE / PIDBKeys.h < prev    next >
C/C++ Source or Header  |  1997-10-19  |  3KB  |  86 lines

  1. /*____________________________________________________________________________*\
  2.  *
  3.  
  4.  Copyright (c) 1997 John Roy. All rights reserved.
  5.  
  6.  These sources, libraries and applications are
  7.  FREE FOR COMMERCIAL AND NON-COMMERCIAL USE
  8.  as long as the following conditions are adhered to.
  9.  
  10.  Redistribution and use in source and binary forms, with or without
  11.  modification, are permitted provided that the following conditions
  12.  are met:
  13.  
  14.  1. Redistributions of source code must retain the above copyright
  15.     notice, this list of conditions and the following disclaimer. 
  16.  
  17.  2. Redistributions in binary form must reproduce the above copyright
  18.     notice, this list of conditions and the following disclaimer in
  19.     the documentation and/or other materials provided with the
  20.     distribution.
  21.  
  22.  3. Redistributions of any form whatsoever and all advertising materials 
  23.     mentioning features must contain the following
  24.     acknowledgment:
  25.     "This product includes software developed by John Roy
  26.     (http://www.johnroy.com/pi3/)."
  27.  
  28.  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  29.  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  30.  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  31.  IN NO EVENT SHALL THE AUTHORS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
  32.  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  33.  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  34.  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35.  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  36.  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  37.  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  38.  OF THE POSSIBILITY OF SUCH DAMAGE.
  39.  
  40.  *____________________________________________________________________________*|
  41.  *
  42.  * $Source: PIDBKeys.h$
  43.  * $Date: Sun Aug 10 06:42:18 1997$
  44.  *
  45.  Description:
  46.     Keys into the program database including configuration file variable
  47.     names.
  48. \*____________________________________________________________________________*/
  49. /* $HeaderTop:$ */
  50.  
  51. #ifndef PIDBKEYS_H_
  52. #define PIDBKEYS_H_
  53.  
  54. /* --- Keys --- */
  55. #define PIDBKEY_CONFIGURATION   "Configuration" /* configuration tree */
  56. #define PIDBKEY_LIBRARIES        "Libraries"     /* dynamically loaded libs */
  57. #define PIDBKEY_FUNCTIONS        "Functions"     /* functions */
  58. #define PIDBKEY_CLASSES            "Classes"       /* classes */
  59. #define PIDBKEY_ERROR            "Error"            /* errors */
  60. #define PIDBKEY_WARNING            "Warning"        /* warning */
  61. #define PIDBKEY_NOTE            "Note"            /* generic comment */
  62. #define PIDBKEY_DIAGNOSTICS        "Diagnostics"    /* diagnostic messages */
  63. #define PIDBKEY_PATH            "Path"            /* library path */
  64.  
  65. /* --- configuration file keys --- */
  66. #define PIDBKEY_CONF_LIBRARY    "Library"
  67. #define PIDBKEY_CONF_FUNCTION    "Function"
  68. #define PIDBKEY_CONF_CLASS        "Class"
  69. #define PIDBKEY_CONF_OBJECT        "Object"
  70. #define PIDBKEY_CONF_NAME        "Name"
  71. #define PIDBKEY_CONF_TYPE        "Type"
  72. #define PIDBKEY_CONF_POSIXPATH    "POSIXPath"
  73. #define PIDBKEY_CONF_WIN32PATH    "Win32Path"
  74. #define PIDBKEY_CONF_ATTRIBUTE    "Attribute"
  75.  
  76. /* --- possible values for PIDBTYPE_STRING --- */
  77. #define PIDBVALUE_CONF_IO        "IO"
  78. #define PIDBVALUE_CONF_LOGIC    "LogicExtension"
  79. #define PIDBVALUE_CONF_SLL        "ServerLogicLanguage"
  80.  
  81. /* --- Values --- */
  82. #define PIDBVALUE_CONF_HASTREE    "HasTree"        /*the object has its own tree*/
  83.  
  84. #endif    /* PIDBKEYS_H_ */
  85.  
  86.