summaryrefslogtreecommitdiffstats
path: root/sys/i4b/include/i4b_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/include/i4b_ioctl.h')
-rw-r--r--sys/i4b/include/i4b_ioctl.h20
1 files changed, 17 insertions, 3 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)
OpenPOWER on IntegriCloud