blob: 4982bd874ebc90d561578316bed8acb8f646b0d1 (
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-2018 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 */
|