summaryrefslogtreecommitdiff
path: root/mobicore/common/DrSecureStorage/drError.h
blob: d686bc1df1dd3e7ceb60b4e3f10875abccaf3710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (c) 2013 TRUSTONIC LIMITED
 * All rights reserved
 * 
 * The present software is the confidential and proprietary information of
 * TRUSTONIC LIMITED. You shall not disclose the present software and shall
 * use it only in accordance with the terms of the license agreement you
 * entered into with TRUSTONIC LIMITED. This software may be subject to
 * export or import laws in certain countries.
 */

/**
 * @file   drError.h
 * @brief  Error id definitions
 *
 */

#ifndef __DRERROR_H__
#define __DRERROR_H__

/**
 * Driver fatal error codes.
 */
typedef enum {
    E_DR_OK               = 0, /**< Success */
    E_DR_IPC              = 1, /**< IPC error */
    E_DR_INTERNAL         = 2, /**< Internal error */
    /* ... add more error codes when required */
} drError_t;


#endif // __DRERROR_H__