summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.h')
-rw-r--r--zaptel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index ee3a47e..36e761e 100644
--- a/zaptel.h
+++ b/zaptel.h
@@ -304,6 +304,11 @@ int op;
void *data;
} ZT_INDIRECT_DATA;
+struct zt_versioninfo {
+ char version[80];
+ char echo_canceller[80];
+};
+
/* ioctl definitions */
#define ZT_CODE 'J'
@@ -597,6 +602,12 @@ void *data;
/*
+ * Get the version of Zaptel that is running, and a description
+ * of the compiled-in echo canceller (if any)
+ */
+#define ZT_GETVERSION _IOR(ZT_CODE, 57, struct zt_versioninfo)
+
+/*
* 60-80 are reserved for private drivers
* 80-85 are reserved for dynamic span stuff
*/