blob: 25a964c8a30bb703099b24c3f531abe1f9e0022a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef UTILS_H
#define UTILS_H
#include "data.h"
void strip_spaces( char *str );
void strip_newlines( char *str );
void strip_dupspaces( char *str );
void convert_newlines_to_spaces( char *str );
char *get_line_from_contents( char *ptr, int size );
char *copy_to_anychar( char *str, char *chr, char **copy );
NODE *alloc_node( void );
void free_node( NODE * );
void map_spaces_to_underscores( char *str );
void fixup_info_filename( char *file );
char *escape_html_chars( char *str );
#endif
|