Debian Codegraph @

drivers/dahdi/xpp/card_fxs.h

raw symbols SCIP
1 #ifndef CARD_FXS_H
2 #define CARD_FXS_H
3 /*
4 * Written by Oron Peled <[email protected]>
5 * Copyright (C) 2004-2006, Xorcom
6 *
7 * All rights reserved.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 */
24
25 #include "xpd.h"
26
27 enum fxs_opcodes {
28 XPROTO_NAME(FXS, SIG_CHANGED) = 0x06,
29 /**/ XPROTO_NAME(FXS, CHAN_POWER) = 0x0F, /* Write to SLIC */
30 XPROTO_NAME(FXS, CHAN_CID) = 0x0F, /* Write to SLIC */
31 XPROTO_NAME(FXS, LED) = 0x0F, /* Write to SLIC */
32 };
33
34 DEF_RPACKET_DATA(FXS, SIG_CHANGED,
35 xpp_line_t sig_status; /* channels: lsb=1, msb=8 */
36 xpp_line_t sig_toggles; /* channels: lsb=1, msb=8 */
37 );
38
39 #endif /* CARD_FXS_H */