Ignore files generated in the dependency checks.
[libpri-bristuff.git] / pri_timers.h
blobc94418fa380da6e60b95309348d53dcab79490da
1 /*
2 * libpri: An implementation of Primary Rate ISDN
4 * Written by Mark Spencer <markster@digium.com>
6 * Copyright (C) 2001, Digium, Inc.
7 * All Rights Reserved.
8 */
11 * See http://www.asterisk.org for more information about
12 * the Asterisk project. Please do not directly contact
13 * any of the maintainers of this project for assistance;
14 * the project provides a web site, mailing lists and IRC
15 * channels for your use.
17 * This program is free software, distributed under the terms of
18 * the GNU General Public License Version 2 as published by the
19 * Free Software Foundation. See the LICENSE file included with
20 * this program for more details.
22 * In addition, when this program is distributed with Asterisk in
23 * any form that would qualify as a 'combined work' or as a
24 * 'derivative work' (but not mere aggregation), you can redistribute
25 * and/or modify the combination under the terms of the license
26 * provided with that copy of Asterisk, instead of the license
27 * terms granted here.
30 #ifndef _PRI_TIMERS_H
31 #define _PRI_TIMERS_H
33 #ifdef RELAXED_TIMERS
34 /* -1 means we dont currently support the timer/counter */
35 #define PRI_TIMERS_DEFAULT { 3, /* N200 */ \
36 260, /* N201 */ \
37 3, /* N202 */ \
38 7, /* K */ \
39 1000, /* T200 */ \
40 2000, /* T201 */ \
41 5000, /* T202 */ \
42 10000, /* T203 */ \
43 -1, /* T300 */ \
44 -1, /* T301 */ \
45 -1, /* T302 */ \
46 6000, /* T303 */ \
47 -1, /* T304 */ \
48 30000, /* T305 */ \
49 -1, /* T306 */ \
50 -1, /* T307 */ \
51 6000, /* T308 */ \
52 -1, /* T309 */ \
53 -1, /* T310 */ \
54 4000, /* T313 */ \
55 -1, /* T314 */ \
56 -1, /* T316 */ \
57 -1, /* T317 */ \
58 -1, /* T318 */ \
59 -1, /* T319 */ \
60 -1, /* T320 */ \
61 -1, /* T321 */ \
62 -1 /* T322 */ \
64 #else
65 /* -1 means we dont currently support the timer/counter */
66 #define PRI_TIMERS_DEFAULT { 3, /* N200 */ \
67 260, /* N201 */ \
68 3, /* N202 */ \
69 7, /* K */ \
70 1000, /* T200 */ \
71 2000, /* T201 */ \
72 5000, /* T202 */ \
73 10000, /* T203 */ \
74 -1, /* T300 */ \
75 -1, /* T301 */ \
76 -1, /* T302 */ \
77 4000, /* T303 */ \
78 -1, /* T304 */ \
79 30000, /* T305 */ \
80 -1, /* T306 */ \
81 -1, /* T307 */ \
82 4000, /* T308 */ \
83 -1, /* T309 */ \
84 -1, /* T310 */ \
85 4000, /* T313 */ \
86 -1, /* T314 */ \
87 -1, /* T316 */ \
88 -1, /* T317 */ \
89 -1, /* T318 */ \
90 -1, /* T319 */ \
91 -1, /* T320 */ \
92 -1, /* T321 */ \
93 -1 /* T322 */ \
95 #endif
97 /* XXX Only our default timers are setup now XXX */
98 #define PRI_TIMERS_UNKNOWN PRI_TIMERS_DEFAULT
99 #define PRI_TIMERS_NI2 PRI_TIMERS_DEFAULT
100 #define PRI_TIMERS_DMS100 PRI_TIMERS_DEFAULT
101 #define PRI_TIMERS_LUCENT5E PRI_TIMERS_DEFAULT
102 #define PRI_TIMERS_ATT4ESS PRI_TIMERS_DEFAULT
103 #define PRI_TIMERS_EUROISDN_E1 PRI_TIMERS_DEFAULT
104 #define PRI_TIMERS_EUROISDN_T1 PRI_TIMERS_DEFAULT
105 #define PRI_TIMERS_NI1 PRI_TIMERS_DEFAULT
106 #define PRI_TIMERS_GR303_EOC PRI_TIMERS_DEFAULT
107 #define PRI_TIMERS_GR303_TMC PRI_TIMERS_DEFAULT
108 #define PRI_TIMERS_QSIG PRI_TIMERS_DEFAULT
109 #define __PRI_TIMERS_GR303_EOC_INT PRI_TIMERS_DEFAULT
110 #define __PRI_TIMERS_GR303_TMC_INT PRI_TIMERS_DEFAULT
112 #define PRI_TIMERS_ALL { PRI_TIMERS_UNKNOWN, \
113 PRI_TIMERS_NI2, \
114 PRI_TIMERS_DMS100, \
115 PRI_TIMERS_LUCENT5E, \
116 PRI_TIMERS_ATT4ESS, \
117 PRI_TIMERS_EUROISDN_E1, \
118 PRI_TIMERS_EUROISDN_T1, \
119 PRI_TIMERS_NI1, \
120 PRI_TIMERS_QSIG, \
121 PRI_TIMERS_GR303_EOC, \
122 PRI_TIMERS_GR303_TMC, \
123 __PRI_TIMERS_GR303_EOC_INT, \
124 __PRI_TIMERS_GR303_TMC_INT, \
127 #endif