blob: 0e627588d670f8d891522e870d902a783cd48102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* blogc: A blog compiler.
* Copyright (C) 2014-2017 Rafael G. Martins <rafael@rafaelmartins.eng.br>
*
* This program can be distributed under the terms of the BSD License.
* See the file LICENSE.
*/
#ifndef _HTTPD_UTILS_H
#define _HTTPD_UTILS_H
#define READLINE_BUFFER_SIZE 256
char* br_readline(int socket);
int br_hextoi(const char c);
char* br_urldecode(const char *str);
const char* br_get_extension(const char *filename);
#endif /* _HTTPD_UTILS_H */
|