1 /*---------------------------------------------------------------------------- 2 * 3 * File: 4 * eas_host_debug.h 5 * 6 * Contents and purpose: 7 * This header defines the host wrapper functions for simulating 8 * error conditions. 9 * 10 * Copyright (C) 2008 The Android Open Source Project 11 * 12 * Licensed under the Apache License, Version 2.0 (the "License"); 13 * you may not use this file except in compliance with the License. 14 * You may obtain a copy of the License at 15 * 16 * http://www.apache.org/licenses/LICENSE-2.0 17 * 18 * Unless required by applicable law or agreed to in writing, software 19 * distributed under the License is distributed on an "AS IS" BASIS, 20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 * See the License for the specific language governing permissions and 22 * limitations under the License. 23 */ 24 25 // sentinel 26 #ifndef _EAS_HOST_DEBUG_H 27 #define _EAS_HOST_DEBUG_H 28 29 #include "eas_types.h" 30 31 typedef enum 32 { 33 eInitError, 34 eShutdownError, 35 eMallocError, 36 eOpenError, 37 eReadError, 38 ePosError, 39 eSeekError, 40 eLengthError, 41 eDupError, 42 eCloseError, 43 eNumErrorConditions, 44 } E_ERROR_CONDITIONS; 45 46 #endif 47 48