Hi Alex,

well, this means we (e.g. I) should wrap the regex stuff in ifdefs. :( Expect v3 this afternoon or monday)

Regards,
David

Alexander Malysh wrote:

Hi David,

patch looks good, except errors below when no regexp.h exists:
In file included from gw/bb_smscconn.c:89:
gw/smscconn_p.h:172: error: syntax error before "regex_t"
gw/smscconn_p.h:172: warning: no semicolon at end of struct or union
gw/smscconn_p.h:174: error: syntax error before '*' token
gw/smscconn_p.h:174: warning: type defaults to `int' in declaration of `denied_smsc_id_regex'
gw/smscconn_p.h:174: warning: data definition has no type or storage class
gw/smscconn_p.h:176: error: syntax error before '*' token
gw/smscconn_p.h:176: warning: type defaults to `int' in declaration of `preferred_smsc_id_regex'
gw/smscconn_p.h:176: warning: data definition has no type or storage class
gw/smscconn_p.h:179: error: syntax error before '*' token
gw/smscconn_p.h:179: warning: type defaults to `int' in declaration of `allowed_prefix_regex'
gw/smscconn_p.h:179: warning: data definition has no type or storage class
gw/smscconn_p.h:181: error: syntax error before '*' token
gw/smscconn_p.h:181: warning: type defaults to `int' in declaration of `denied_prefix_regex'
gw/smscconn_p.h:181: warning: data definition has no type or storage class
gw/smscconn_p.h:183: error: syntax error before '*' token
gw/smscconn_p.h:183: warning: type defaults to `int' in declaration of `preferred_prefix_regex'
gw/smscconn_p.h:183: warning: data definition has no type or storage class
gw/smscconn_p.h:215: error: `shutdown' redeclared as different kind of symbol


On Tuesday 20 January 2004 16:07, David Schmitz wrote:


Hi,

attached is a patch implementing some new configuration parameters based
on POSIX regular expressions. All new parameters can be used in parallel
with the non-regex-parameters. More elaborate documentation is included
in the userdoc-part of the patch.

Awaiting votes and comments, please.

Regards,
David

PS:
Modified files:
gwlib/cfg.def
gwlib/regex.[ch]
gw/wap_push_ppg_pushuser.c
gw/urltrans.[ch]
gw/smscconn.c
gw/smsbox.c
gw/bb_smscconn.c
gw/smscconn_p.h
doc/userguide/userguide.xml

The following params are new:
Group: core
white-list-regex
black-list-regex
----
Group: wap-push-user
allowed-prefix-regex
denied-prefix-regex
white-list-regex
black-list-regex
----
Group: smsbox
white-list-regex
black-list-regex
----
Group: smsc
allowed-smsc-id-regex
denied-smsc-id-regex
preferred-smsc-id-regex
allowed-prefix-regex
denied-prefix-regex
preferred-prefix-regex
----
Group: sms-service
accepted-smsc-regex
allowed-prefix-regex
denied-prefix-regex
allowed-receiver-prefix-regex
denied-receiver-prefix-regex
white-list-regex
black-list-regex
keyword-regex
----
Group: sendsms-user
allowed-prefix-regex
denied-prefix-regex
white-list-regex
black-list-regex







--

Mit freundlichen Gruessen/Best regards

David Schmitz
Softwareentwicklung

-----------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 D�sseldorf

Tel.:  + 49 -211-7 48 45 - 2708
Fax:  + 49 -211-80-6-06-2801

E-Mail:   [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de




Reply via email to