diff options
Diffstat (limited to 'sys/i4b/include')
-rw-r--r-- | sys/i4b/include/i4b_ioctl.h | 20 | ||||
-rw-r--r-- | sys/i4b/include/i4b_l3l4.h | 9 | ||||
-rw-r--r-- | sys/i4b/include/i4b_tel_ioctl.h | 7 |
3 files changed, 24 insertions, 12 deletions
diff --git a/sys/i4b/include/i4b_ioctl.h b/sys/i4b/include/i4b_ioctl.h index e71c486..8e685e3 100644 --- a/sys/i4b/include/i4b_ioctl.h +++ b/sys/i4b/include/i4b_ioctl.h @@ -29,7 +29,7 @@ * * $FreeBSD$ * - * last edit-date: [Sat Jul 21 12:24:56 2001] + * last edit-date: [Thu Oct 18 13:40:40 2001] * *---------------------------------------------------------------------------*/ @@ -46,8 +46,8 @@ * version and release number for isdn4bsd package *---------------------------------------------------------------------------*/ #define VERSION 1 /* version number */ -#define REL 0 /* release number */ -#define STEP 1 /* release step */ +#define REL 1 /* release number */ +#define STEP 0 /* release step */ /*---------------------------------------------------------------------------* * date/time format in i4b log messages @@ -170,6 +170,7 @@ #define TELNO_MAX 41 /* max length of a telephone number (+ '\0') */ #define DISPLAY_MAX 91 /* max length of display information (+ '\0') */ #define DATETIME_MAX 21 /* max length of datetime information (+ '\0')*/ +#define KEYPAD_MAX 35 /* max length of a keypad string (+ '\0') */ /*---------------------------------------------------------------------------* * in case the src or dst telephone number is empty @@ -318,6 +319,7 @@ typedef struct { #define MSG_IFSTATE_CHANGED_IND 'o' #define MSG_DIALOUTNUMBER_IND 'p' #define MSG_PACKET_IND 'q' +#define MSG_KEYPAD_IND 'r' int cdid; /* call descriptor id */ } msg_hdr_t; @@ -410,6 +412,17 @@ typedef struct { } msg_dialoutnumber_ind_t; /*---------------------------------------------------------------------------* + * send keypad string + *---------------------------------------------------------------------------*/ +typedef struct { + msg_hdr_t header; /* common header */ + int driver; /* driver type */ + int driver_unit; /* driver unit number */ + int cmdlen; /* length of string */ + char cmd[KEYPAD_MAX];/* keypad string */ +} msg_keypad_ind_t; + +/*---------------------------------------------------------------------------* * idle timeout disconnect sent indication * kernel has sent disconnect request because of b-ch idle *---------------------------------------------------------------------------*/ @@ -556,6 +569,7 @@ typedef struct { #define ULEN_METHOD_DYNAMIC 1 /* use AOCD */ char dst_telno[TELNO_MAX]; /* destination telephone no */ char src_telno[TELNO_MAX]; /* source telephone number */ + char keypad[KEYPAD_MAX]; /* keypad string */ } msg_connect_req_t; #define I4B_CONNECT_REQ _IOW('4', 1, msg_connect_req_t) diff --git a/sys/i4b/include/i4b_l3l4.h b/sys/i4b/include/i4b_l3l4.h index d70a211..64617a2 100644 --- a/sys/i4b/include/i4b_l3l4.h +++ b/sys/i4b/include/i4b_l3l4.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved. + * Copyright (c) 1997, 2001 Hellmuth Michaelis. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -27,11 +27,9 @@ * i4b_l3l4.h - layer 3 / layer 4 interface * ------------------------------------------ * - * $Id: i4b_l3l4.h,v 1.32 2000/08/24 11:48:57 hm Exp $ - * * $FreeBSD$ * - * last edit-date: [Fri Jun 2 14:29:35 2000] + * last edit-date: [Thu Oct 18 13:26:16 2001] * *---------------------------------------------------------------------------*/ @@ -240,7 +238,8 @@ typedef struct int isdntxdelay; /* isdn tx delay after connect */ u_char display[DISPLAY_MAX]; /* display information element */ - char datetime[DATETIME_MAX]; /* date/time information element*/ + char datetime[DATETIME_MAX]; /* date/time information element*/ + u_char keypad[KEYPAD_MAX]; /* keypad facility */ } call_desc_t; extern call_desc_t call_desc[N_CALL_DESC]; diff --git a/sys/i4b/include/i4b_tel_ioctl.h b/sys/i4b/include/i4b_tel_ioctl.h index 0f955af..3b92922 100644 --- a/sys/i4b/include/i4b_tel_ioctl.h +++ b/sys/i4b/include/i4b_tel_ioctl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2000 Hellmuth Michaelis. All rights reserved. + * Copyright (c) 1997, 2001 Hellmuth Michaelis. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -27,11 +27,9 @@ * i4b_tel_ioctl.h telephony interface ioctls * ------------------------------------------ * - * $Id: i4b_tel_ioctl.h,v 1.13 2000/01/12 14:49:36 hm Exp $ - * * $FreeBSD$ * - * last edit-date: [Wed Jan 12 15:47:11 2000] + * last edit-date: [Wed Oct 17 13:47:03 2001] * *---------------------------------------------------------------------------*/ @@ -83,6 +81,7 @@ struct i4b_tel_tones { #define CMD_DIAL 'D' /* dial the following number string */ #define CMD_HUP 'H' /* hangup */ +#define CMD_KEYP 'K' /* send keypad string */ /* dialer responses */ |