-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathhpec_user.h
39 lines (32 loc) · 1 KB
/
hpec_user.h
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
35
36
37
38
/*
* DAHDI Telephony Interface to Digium High-Performance Echo Canceller
*
* Copyright (C) 2006 Digium, Inc.
*
* All rights reserved.
*/
/*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the project provides a web site, mailing lists and IRC
* channels for your use.
*
* This program is free software, distributed under the terms of
* the GNU General Public License Version 2 as published by the
* Free Software Foundation. See the LICENSE file included with
* this program for more details.
*/
#if !defined(_HPEC_USER_H)
#define _HPEC_USER_H
struct hpec_challenge {
__u8 challenge[16];
};
struct hpec_license {
__u32 numchannels;
__u8 userinfo[256];
__u8 response[16];
};
#define DAHDI_EC_LICENSE_CHALLENGE _IOR(DAHDI_CODE, 60, struct hpec_challenge)
#define DAHDI_EC_LICENSE_RESPONSE _IOW(DAHDI_CODE, 61, struct hpec_license)
#endif /* !defined(_HPEC_USER_H) */