00001 /******************************************************************** 00002 00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved. 00004 00005 The contents of this file are subject to the Mozilla Public License Version 00006 1.1 (the "License"); you may not use this file except in compliance with 00007 the License. You may obtain a copy of the License at 00008 http://www.mozilla.org/MPL/ 00009 00010 Software distributed under the License is distributed on an "AS IS" basis, 00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 00012 for the specific language governing rights and limitations under the 00013 License. 00014 00015 The Original Code is the entire contents of this file. 00016 00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc. 00018 00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All 00020 Rights Reserved. 00021 00022 Contributor(s): none. 00023 00024 ********************************************************************/ 00032 #ifndef ALP_TYPES_H_ 00033 #define ALP_TYPES_H_ 00034 00035 /* --------------------------------------------------------------------------- */ 00036 #include <stdint.h> 00037 #if defined(__GNUC__) 00038 # include <stdbool.h> 00039 #elif defined(WIN32) 00040 #include <stdbool.h> 00041 #else 00042 # error Make sure bool, true and false are defined even when using the C compiler 00043 /* Then add a test on a macro uniquely defining your compiler above. */ 00044 #endif 00045 #include <hiker/config.h> 00046 00047 /* --------------------------------------------------------------------------- */ 00048 typedef uint32_t alp_status_t; 00049 00050 typedef void *AlpDmlH; 00051 typedef void *AlpDmlStatementH; 00052 typedef void *AlpDmlItemH; 00053 00054 typedef uint32_t AlpLuid; 00055 00056 #define ALP_STATUS_OK 0 00057 00058 /* #### TO BE REMOVED */ 00059 #define ALP_OK 0 00060 #define ALP_INVALID_PARAM ((alp_status_t)0x01000000 | 2) 00061 00062 /* --------------------------------------------------------------------------- */ 00063 #endif /* ALP_TYPES_H_ */