Re: [PATCH] rewrite/cleanup of dlr handling (new)

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Alexander Malysh wrote:
> 
> i found a small memleak after it ...
> Attached you can find corrected version of this patch.
> I can say, mysql and internal where tested and works on our production systems
> without any problems. libsdb is not tested yet, but should work, because i
> have not changed any calls to the library itself. So please people, who use
> libsdb, test it!
> 
> What happens is pretty simple ;)
> 
> 1. if dlr_init calls then here storage will be initilialized return pointer to
> operations struct. pls consult dlr_p.h for possible operations on the
> storage.
> 2. If dlr_find calls then core dlr do following:
>         call storage get function
>         create new dlr message
>         check if this end status of message (e.g. delivered or undelivered) and then
> delete the message by calling of remove storage funct. if end state not
> reached then call storage update status entry funct. (its optional, that
> means, if storage define this funct. it will be called otherwise not)
> 3. dlr_status just call storage status funct.
> 
> and so on ...

+1, commited to cvs.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
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.