taskrambler
v0.1.8
Web server and task management solution.
|
Go to the source code of this file.
Functions | |
size_t | rfc1123Gmt (char *, size_t, const time_t *) |
size_t | rfc1123GmtNow (char *, size_t) |
size_t | urldecode (char *, size_t) |
char | isHttpVersion (const char *, size_t) |
HttpMessage | httpGetMessage (const char *, size_t, const char *, size_t, const char *, size_t) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file utils/http.h.
HttpMessage httpGetMessage | ( | const char * | , |
size_t | , | ||
const char * | , | ||
size_t | , | ||
const char * | , | ||
size_t | |||
) |
Definition at line 127 of file utils/http.c.
References isHttpVersion().
Referenced by httpParserNewMessage().
char isHttpVersion | ( | const char * | , |
size_t | |||
) |
Definition at line 112 of file utils/http.c.
Referenced by httpGetMessage(), and httpMessageHasValidVersion().
size_t rfc1123Gmt | ( | char * | , |
size_t | , | ||
const time_t * | |||
) |
Definition at line 53 of file utils/http.c.
References DAY_NAMES, and MONTH_NAMES.
Referenced by assetCtor(), httpResponseAsset(), and rfc1123GmtNow().
size_t rfc1123GmtNow | ( | char * | , |
size_t | |||
) |
Definition at line 69 of file utils/http.c.
References rfc1123Gmt().
Referenced by httpWorkerAddCommonHeader().
size_t urldecode | ( | char * | buffer, |
size_t | nbuffer | ||
) |
Decode an url encoded string. This expects a valid url encoded string and it size as arguments, else the behaviour of this function is undefined. This function modifies the data in buffer. No copy is made. The reason for this is only performance.
Definition at line 84 of file utils/http.c.
References ALNUMVAL.
Referenced by httpParserPostVars().