home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 January / Chip_2001-01_cd1.bin / tema / interb / InterBase_WI-V6.0-server.exe / server / examples / api / example.h < prev    next >
Text File  |  2000-06-23  |  1KB  |  39 lines

  1. /*
  2.  * The contents of this file are subject to the Interbase Public
  3.  * License Version 1.0 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy
  5.  * of the License at http://www.Interbase.com/IPL/
  6.  *
  7.  * Software distributed under the License is distributed on an
  8.  * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
  9.  * or implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code was created by Interbase Software Corporation
  13.  * and its successors. Portions created by Borland/Inprise are
  14.  * Copyright (C) 1992-1998 and 1999-2000 Borland/Inprise. Portions
  15.  * created by InterBase Software Corporation are Copyright (C)
  16.  * 1998-1999 InterBase Software Corporation.
  17.  *
  18.  * Copyright (C) 2000 InterBase Software Corporation
  19.  * All Rights Reserved.
  20.  * Contributor(s): ______________________________________.
  21.  */
  22. #if defined __STDC__ || defined __BORLANDC__ || defined _MSC_VER
  23. #define args        args
  24. #define ARG(type, arg)        type arg
  25. #define ARGLIST(arg)
  26. #else
  27. #define args        ()
  28. #define ARG(type, arg)        arg
  29. #define ARGLIST(arg)    arg;
  30. #endif
  31.  
  32. #if defined __BORLANDC__ && defined __WIN32__
  33. #define EXPORT _export
  34. #else
  35. #define EXPORT
  36. #endif
  37.  
  38. #define ERREXIT(status, rc)    {isc_print_status(status); return rc;}
  39.