home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / WEBSERVE / PI3 / PI3WEB.EXE / DEVEL / INCLUDE / PILogic.h < prev    next >
C/C++ Source or Header  |  1997-10-19  |  3KB  |  88 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: PILogic.h$
  43.  * $Date: Sun Aug 10 06:42:18 1997$
  44.  *
  45.  Description:
  46. \*____________________________________________________________________________*/
  47. /* $HeaderTop:$ */
  48.  
  49. #ifndef PILOGIC_H_
  50. #define PILOGIC_H_
  51.  
  52. #include "PIObject.h"
  53.  
  54. /*____________________________________________________________________________*\
  55.  *
  56. Typedefs and function prototypes
  57. \*____________________________________________________________________________*/
  58.  
  59. /*____________________________________________________________________________*\
  60.  *
  61.  Name:
  62.     PILogic_execute
  63.  
  64.  Synopsis:
  65.     int PILogic_execute( PIObject *pObj, int iArgc, const char *ppArgv[] )
  66.     
  67.  Description:
  68.     Execute the logic performed by the logic object <B>pObj</B>. 
  69.  
  70.     Optional additional parameters may be passed to the logic object, the
  71.     parameters <B>iArgc</B> and <B>ppArgv</B> specify the number of elements in
  72.     an array of values and the array of values respectively.
  73.  
  74.  Notes:
  75.  Return Values:
  76.     On success PIAPI_COMPLETED is returned. 
  77.  
  78.  Errors:
  79.     On error PIAPI_ERROR or PIAPI_ABORT is returned.
  80.  
  81.  See Also:
  82. \*____________________________________________________________________________*/
  83. PUBLIC_PIAPI int     PILogic_execute( PIObject *pObj, int iArgc,
  84.     const char *ppArgv[] );
  85.  
  86. #endif    /* PILOGIC_H_ */
  87.  
  88.