summaryrefslogtreecommitdiff
path: root/src/info2html/utils.h
blob: 7f77aa4d31cb1558f46be24c3e108b048de14bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 );
ReadBuf * readbuf_open (const char *name);
int  readbuf_eof (ReadBuf *rb);
char * readbuf_gets (ReadBuf *rb, char *buf, gsize bufsize);
void readbuf_close (ReadBuf *rb);
#endif