| 1 | /* |
| 2 | * DAHDI Telephony Interface to Digium High-Performance Echo Canceller |
| 3 | * |
| 4 | * Copyright (C) 2006 Digium, Inc. |
| 5 | * |
| 6 | * All rights reserved. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * See http://www.asterisk.org for more information about |
| 11 | * the Asterisk project. Please do not directly contact |
| 12 | * any of the maintainers of this project for assistance; |
| 13 | * the project provides a web site, mailing lists and IRC |
| 14 | * channels for your use. |
| 15 | * |
| 16 | * This program is free software, distributed under the terms of |
| 17 | * the GNU General Public License Version 2 as published by the |
| 18 | * Free Software Foundation. See the LICENSE file included with |
| 19 | * this program for more details. |
| 20 | */ |
| 21 | |
| 22 | #if !defined(_HPEC_USER_H) |
| 23 | #define _HPEC_USER_H |
| 24 | |
| 25 | struct hpec_challenge { |
| 26 | __u8 challenge[16]; |
| 27 | }; |
| 28 | |
| 29 | struct hpec_license { |
| 30 | __u32 numchannels; |
| 31 | __u8 userinfo[256]; |
| 32 | __u8 response[16]; |
| 33 | }; |
| 34 | |
| 35 | #define DAHDI_EC_LICENSE_CHALLENGE _IOR(DAHDI_CODE, 60, struct hpec_challenge) |
| 36 | #define DAHDI_EC_LICENSE_RESPONSE _IOW(DAHDI_CODE, 61, struct hpec_license) |
| 37 | |
| 38 | #endif /* !defined(_HPEC_USER_H) */ |
| 39 |