1 /*****************************************************************************/
3 * auerserv.h -- Auerswald PBX/System Telephone service request structure.
5 * Copyright (C) 2002 Wolfgang Mües (wolfgang@iksw-muees.de)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 /*****************************************************************************/
23 /* The auerswald ISDN devices have a logical channel concept. Many channels are
24 * realized via one control endpoint or INT endpoint. At the receiver side, these
25 * messages must be dispatched. Some data may be for an application which is
26 * connected through the char interface, other data may be D-channel information
27 * routed to ISDN4LINUX. The auerscon struct is used to dispatch the data.
37 typedef void (*auer_dispatch_t) (struct auerscon *, struct auerbuf *);
38 typedef void (*auer_disconn_t) (struct auerscon *);
41 unsigned int id; /* protocol service id AUH_xxxx */
42 auer_dispatch_t dispatch; /* dispatch read buffer */
43 auer_disconn_t disconnect; /* disconnect from device, wake up all readers */
47 #endif /* AUERSERV_H */