comparison src/g23m-aci/aci/cmh_dti.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +------------------------------------------------------------------------------
3 | File: cmh_dti.h
4 +------------------------------------------------------------------------------
5 | Copyright Condat AG 1999-2000, Berlin
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Condat AG.
9 | The receipt of or possession of this file does not convey
10 | any rights to reproduce or disclose its contents or to
11 | manufacture, use, or sell anything it may describe, in
12 | whole, or in part, without the specific written consent of
13 | Condat AG.
14 +------------------------------------------------------------------------------
15 | Purpose: Definitions for the DTI managment.
16 |
17 | $Identity:$
18 +------------------------------------------------------------------------------
19 */
20
21
22 #ifndef CMH_DTI_H
23 #define CMH_DTI_H
24
25
26
27 /*==== ENUMS =====================================================*/
28
29 typedef enum /* DTI redirection mode */
30 {
31 REDIR_DELETE = 0,
32 REDIR_ONCE,
33 REDIR_ALWAYS
34 } T_ACI_REDIR_MODE;
35
36 typedef enum /* DINF mode */
37 {
38 SHOW_CURR_CHAN_INF = 0,
39 SHOW_ALL_CHAN_INF
40 } T_ACI_DINF_MODE;
41
42 typedef enum /* to map*/
43 {
44 DEV_CPBLTY_CMD = 0, /* AT cmd capability */
45 DEV_CPBLTY_SER, /* serial capability */
46 DEV_CPBLTY_PKT, /* packet capability */
47 DEV_CPBLTY_CMD_SER, /* AT cmd and serial capability */
48 DEV_CPBLTY_CMD_PKT, /* AT cmd and packet capability */
49 DEV_CPBLTY_PKT_SER, /* packet and serial capability */
50 DEV_CPBLTY_CMD_PKT_SER, /* AT cmd, packet and serial capability */
51 DEV_CPBLTY_NONE /* sentinel for %DINF command */
52 } T_CAP_ID;
53
54 /*==== STRUCTS =====================================================*/
55
56 typedef struct
57 {
58 CHAR *name;
59 T_CAP_ID id;
60 } T_CAP_NAME;
61
62 /*==== VARIABLE====================================================*/
63
64
65 /*==== EXPORT =====================================================*/
66
67
68 #endif /* CMH_DTI_H */
69
70 /*==== EOF =======================================================*/