From d2ffecef264949e36341e87f8e1ff41a8effb1f2 Mon Sep 17 00:00:00 2001 From: Super User Date: Sun, 6 Jan 2008 15:49:29 +0100 Subject: added filter options (gain, pipeline, blowfish) to interface configuration. modified: apppbx.cpp modified: interface.c modified: interface.h modified: mISDN.cpp modified: mISDN.h modified: route.c modified: todo.txt --- interface.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'interface.h') diff --git a/interface.h b/interface.h index 4085ebe..f97c28b 100644 --- a/interface.h +++ b/interface.h @@ -73,12 +73,6 @@ struct interface_screen { int result_present; /* presentation type */ }; -struct interface_filter { - struct interface_filter *next; - int filter; /* filter to use */ - char parameter[256]; /* filter parameter */ -}; - struct interface { struct interface *next; char name[64]; /* name of interface */ @@ -91,7 +85,10 @@ struct interface { struct interface_msn *ifmsn; /* link to interface msn list */ struct interface_screen *ifscreen_in; /* link to screening list */ struct interface_screen *ifscreen_out; /* link to screening list */ - struct interface_filter *iffilter; /* link to filter list */ + int gain_tx, gain_rx; /* filter gain */ + char pipeline[256]; /* filter pipeline */ + unsigned char bf_key[56]; /* filter blowfish */ + int bf_len; /* filter length of blowfish */ }; struct interface_param { -- cgit v1.2.3-55-g7522