blob: 06ad6e14c8310c6676a60a3344a5b96a414168e6 (
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-2019 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 2048
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 */
|