ACQ2XX_API
acq_api_common.h
Go to the documentation of this file.
00001 /* ------------------------------------------------------------------------- */
00002 /* file acq_api_common.h                                                     */
00003 /* ------------------------------------------------------------------------- */
00004 /*   Copyright (C) 2008 Peter Milne, D-TACQ Solutions Ltd
00005  *                      <Peter dot Milne at D hyphen TACQ dot com>
00006 
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of Version 2 of the GNU General Public License
00009     as published by the Free Software Foundation;
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program; if not, write to the Free Software
00018     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */
00019 /* ------------------------------------------------------------------------- */
00020 
00021 #ifndef __ACQ_API_COMMON_H__
00022 #define __ACQ_API_COMMON_H__
00023 
00024 #define STATUS int
00025 #define STATUS_OK 0
00026 #define STATUS_WORKTODO -42
00027 #define STATUS_FEATURE_NOT_IMPLEMENTED  -43
00028 #define STATUS_ERR(status)      ((status) < 0)
00029 #define STATUS_IS_OK(status)    ((status) >= 0)
00030 
00031 
00032 #endif /* __ACQ_API_COMMON_H__ */