/*****************************************************************************
 * FreeAdhocUDF - copyright (c) 2004 - 2008 adhoc dataservice GmbH
 * Christoph Theuring ct / Peter Mandrella pm / Georg Horn gh
 * <http://www.udf.adhoc-data.de> eMail <udf@adhoc-data.de>
 * based on FreeUDFLibC - copyright (c) 1999 Gregory Deatz
 * some code from Robert Loipfinger rl copyright (c) 2000 ADITO Software GmbH
 * some code from rFunc UDF library copyright (c) 1998-2003 Polaris Software
 *
 * File Name:	string_functions.h
 * Description: This header contains the prototype definitions
 *
 * This file is part of FreeAdhocUDF.
 * FreeAdhocUDF is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * FreeAdhocUDF is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with FreeAdhocUDF.  If not, see <http://www.gnu.org/licenses/>. 
*****************************************************************************/

char *character (int *);
char *crlf ();
char *lf ();
char *tab ();
char *nbsp ();
char *dqm ();
char *sqm ();
char *digits (char *);
char *encryptmd5 (char *);
char *left (char *, int *);
char *linewrap (char *, int *, int *);
char *ltrim (char *);
char *lrtrim (char *);
char *rtrim (char *);
char *mid (char *, int *, int *);
char *padleft (char *, char *, int *);
char *r_padleft (char *, int *, char *);
char *padright (char *, char *, int *);
char *r_padright (char *, int *, char *);
char *padcenter (char *, char *, int *);
char *propercase (char *);
char *replace (char *, char *, char *);
char *right (char *, int *);
char *soundex (char *);
char *gsoundex (char *);
int *stringlength (char *);
char *stripstring (char *, char *);
char *stripstringhold (char *, char *);
int *substr (char *, char *);
int *substrnull (char *, char *);
int *strsub (char *, char *);
int *strsubnull (char *, char *);
int *strpos (char *, char *);
char *lower (char *);
char *upper (char *);
char *rlower (char *);
char *rupper (char *);
char *rlatin (char *);
char *telefonnr (char *, int *);
char *aif (char *, char *, char *, char *, char *);
char *strcopy (char *, int *, int *);
char *strrm (char *, int *);
char *version ();
char *predecessor (char *, int *);
char *successor (char *, int *);
char *reverse (char *);
int *wordcount (char *);
short *ord(unsigned char *);
int *stringcount(char *, char *);
int *r_stringcount(char *, char *);
int *r_strcmp(char *, char *);
int *r_wordcount(char *, char *, int *);
char *wordnum(char *, int *, char *, int *);

// internal functions
int find_char (char, char *);

char *collatebr (char *);
int *equalstring (char *, char *);
char *findnthword (char *, int *);
char *findword (char *, int *);
int *findwordindex (char *, int *);
int *findwordindexnull (char *, int *);
char *mid1 (char *, int *, int *);
char *replacestring (char *, char *, char *, int *, int *);
char *intern_replacestring (char *, char *, char *, int *, int *, int);
char *space (int *);
char *strofchar (char *, int *);
char *dollarval (double *);
char *euroval (double *);
char *stringlistitem (char *, char *);
char *excelstring (char *);
char *intern_excelstring (char *, int);
char *keyup(char *, int *);
char *r_c(char *);
char *convertsymbols(char *, char *, char *);
char *repeattrim(char *, char *);
char *strrepeat(char *, int *);
char *strstuff(char *, int *, int *, char *);
char *floattostr(double *, char *);
char *inttostr(int *, char *);
char *domainfromemail (char *);
char *rot13(char *);

