Re: [PATCH] regex volume 2

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
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

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [email protected]
web: www.centrium.de
msn: [email protected]
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.