r3/include/str.h

23 lines
367 B
C
Raw Normal View History

2014-05-14 22:10:34 -04:00
/*
* str.h
* Copyright (C) 2014 c9s <c9s@c9smba.local>
*
* Distributed under terms of the MIT license.
*/
#ifndef STR_H
#define STR_H
2014-05-15 08:38:07 -04:00
char * slug_to_pcre(char * slug, char sep);
2014-05-15 00:53:48 -04:00
char * ltrim_slash(char* str);
char** str_split(char* a_str, const char a_delim);
2014-05-14 22:10:34 -04:00
2014-05-15 06:02:10 -04:00
void str_repeat(char *s, char *c, int len);
void print_indent(int level);
2014-05-15 08:38:07 -04:00
2014-05-14 22:10:34 -04:00
#endif /* !STR_H */
2014-05-15 06:02:10 -04:00