taskrambler  v0.1.8
Web server and task management solution.
skip_non_alpha.c File Reference
#include <ctype.h>
#include "cbuf.h"
+ Include dependency graph for skip_non_alpha.c:

Go to the source code of this file.

Functions

void cbufSkipNonAlpha (Cbuf this)
 

Detailed Description

Author
Georg Hopp

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 skip_non_alpha.c.

Function Documentation

void cbufSkipNonAlpha ( Cbuf  this)

Definition at line 28 of file skip_non_alpha.c.

References cbufGetRead(), and cbufIncRead().

Referenced by httpParserParse().

29 {
30  while(0 < this->bused && !isalpha(*cbufGetRead(this)))
31  cbufIncRead(this, 1);
32 }
void cbufIncRead(Cbuf this, size_t n)
Definition: inc_read.c:28
char * cbufGetRead(Cbuf this)
Definition: get_read.c:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function: