home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / WEBSERVE / PI3 / PI3WEB.EXE / DEVEL / INCLUDE / PIDocs.h < prev    next >
C/C++ Source or Header  |  1997-10-19  |  3KB  |  84 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: PIDocs.h$
  43.  * $Date: Sun Aug 10 06:29:35 1997$
  44.  *
  45.  Description:
  46.     Dummy holding place for miscellanious documentation.
  47. \*____________________________________________________________________________*/
  48. /* $HeaderTop:$ */
  49.  
  50. #ifndef PIDOCS_H_
  51. #define PIDOCS_H_
  52.  
  53. /*____________________________________________________________________________*\
  54.  *
  55.  Name:
  56.     Errors
  57.  
  58.  Synopsis:
  59.  Description:
  60.  Notes:
  61.     Error codes are maintained on a per-thread basis and can be set and
  62.     examined using PIPlatform_getLastError() and PIPlatform_setLastError()
  63.     respectively. The following are the error codes used and thier
  64.     meanings.
  65.  
  66.         PIAPI_ERROR            an unspecified error, use operating system 
  67.                                 facilities to further isolate the error.
  68.         PIAPI_EXHAUSTED        memory or disk space exhausted.
  69.         PIAPI_EINVAL        invalid parameter
  70.         PIAPI_NOTSUPPORTED    unimplemented facilitiy
  71.         PIAPI_EEXIST        a file or other object cannot be created 
  72.                                 because some object already exists which
  73.                                 the creation would corrupt.
  74.         PIAPI_EACCES        access denied
  75.         PIAPI_EINIT            library not correctly initialised.
  76.         PIAPI_DEADLOCK        action would leave no runnable threads.
  77.  Return Values:
  78.  See Also:
  79.     PIPlatform_getLastError(), Errors
  80. \*____________________________________________________________________________*/
  81.  
  82. #endif    /* PIDOCS_H_ */
  83.  
  84.