~ubuntu-branches/ubuntu/utopic/xneur/utopic

« back to all changes in this revision

Viewing changes to lib/misc/text.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-08-21 15:46:47 UTC
  • mfrom: (1.1.5 upstream) (2.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090821154647-tkntx3xle87fnqoi
Tags: 0.9.5.1-2
* debian/* switching to CDBS.
* Added 05_nonewline_fix.patch: fix building with gcc4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 *  along with this program; if not, write to the Free Software
14
14
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
15
15
 *
16
 
 *  Copyright (C) 2006-2008 XNeur Team
 
16
 *  Copyright (C) 2006-2009 XNeur Team
17
17
 *
18
 
 */
19
 
 
20
 
#ifndef _TEXT_H_
21
 
#define _TEXT_H_
22
 
 
23
 
int   is_upper_non_alpha_cyr(char symbol);
24
 
int   get_last_word_offset(const char *string, int string_len);
25
 
char* get_last_word(char *string);
26
 
int   trim_word(char *word, int len);
27
 
void  lower_word_inplace(char *word);
28
 
char* lower_word(const char *word, int len);
29
 
 
30
 
#endif /* _TEXT_H_ */
 
18
 */
 
19
 
 
20
#ifndef _TEXT_H_
 
21
#define _TEXT_H_
 
22
 
 
23
int   is_upper_non_alpha_cyr(char symbol);
 
24
int   get_last_word_offset(const char *string, int string_len);
 
25
char* get_last_word(char *string);
 
26
int   trim_word(char *word, int len);
 
27
void  lower_word_inplace(char *word);
 
28
char* lower_word(const char *word, int len);
 
29
char* str_replace(const char *source, const char *search, const char *replace);
 
30
 
 
31
#endif /* _TEXT_H_ */