Rev 6 | Rev 14 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Copyright (C) 2015 by Andreas Theofilu <andreas@theosys.at>
*
* All rights reserved. No warranty, explicit or implicit, provided.
*
* NOTICE: All information contained herein is, and remains
* the property of Andreas Theofilu and his suppliers, if any.
* The intellectual and technical concepts contained
* herein are proprietary to Andreas Theofilu and its suppliers and
* may be covered by European and Foreign Patents, patents in process,
* and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Andreas Theofilu.
*/
#ifndef __HELPLIB__
#define __HELPLIB__
#define FALSE 0
#define TRUE 1
char *remove_string(char *str, char *search, char *ret);
char *trim(char *str);
char *readLine(int fd, char *buf, int bufLen);
char *urlencode(char *str);
char *urldecode(char *str);
char *ASCIItoUTF8(char *str);
char *str_replace(char *in, char *pattern, char *by);
char *char_replace(char *in, char needle, char by);
int isnumeric(char *str);
char *secondsToString(double seconds, char *buf);
#endif