util.h 335 Bytes
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1 2 3
#ifndef __UTIL_H__
#define __UTIL_H__

4 5 6
#define XSLT_CONTENT 1
#define HTML_CONTENT 2

7
int util_timed_wait_for_fd(int fd, int timeout);
Jack Moffitt's avatar
Jack Moffitt committed
8
int util_read_header(int sock, char *buff, unsigned long len);
9 10
int util_get_full_path(char *uri, char *fullPath, int fullPathLen);
int util_check_valid_extension(char *uri);
Jack Moffitt's avatar
Jack Moffitt committed
11 12

#endif  /* __UTIL_H__ */