00001 00002 /* 00003 *************************************************************************** 00004 * Copyright 2007,2008 Impinj, Inc. 00005 * 00006 * Licensed under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 * 00018 *************************************************************************** 00019 */ 00020 00021 00022 /* 00023 * Include file to establish context 00024 * for the LLRP Tool Kit (LTK) C++ platform. 00025 */ 00026 00027 #include <stdint.h> 00028 #include <stdlib.h> /* malloc() */ 00029 #include <string.h> /* memcpy() */ 00030 00031 #define FALSE 0 00032 #define TRUE 1 00033 00034 /* 00035 * Typedefs of simple types. 00036 * The LTK/C++ uses these types extensively. 00037 * To retarget to another C++ platform change 00038 * these typedefs. Everything else should be 00039 * good to go. 00040 */ 00041 00042 #ifdef _STDINT_H 00043 00044 typedef uint8_t llrp_u8_t; 00045 typedef int8_t llrp_s8_t; 00046 typedef uint16_t llrp_u16_t; 00047 typedef int16_t llrp_s16_t; 00048 typedef uint32_t llrp_u32_t; 00049 typedef int32_t llrp_s32_t; 00050 typedef uint64_t llrp_u64_t; 00051 typedef int64_t llrp_s64_t; 00052 typedef uint8_t llrp_u1_t; 00053 typedef uint8_t llrp_u2_t; 00054 typedef uint8_t llrp_utf8_t; 00055 typedef int llrp_bool_t; 00056 typedef uint8_t llrp_byte_t; 00057 00058 #endif /* _STDINT_H */