Re: [PATCH] Octstr additions

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Hi Nisan,

> Some additions to octstr.[ch]
> 
> /*
>   * Strip all occurence of char ch from start of Octstr
>   */
> void octstr_strip_char(Octstr *text, char ch);
> 
> /*
>   * Check if ostr is numeric
>   */
> int octstr_isnum(Octstr *ostr1);
> 
> /*
>   * Replace all occurences of needle with repl within haystack
>   */
> 
> void octstr_replace(Octstr *haystack, Octstr *needle, Octstr *repl);
> 
> /*
>   * Symbolise hexstr - 78797a becomes %78%79%7a
> */
> int octstr_symbolize(Octstr *ostr);

that's cool. I'm +1 for adding this 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.