24#ifndef OPENVPN_HTTP_HTMLSKIP_H
25#define OPENVPN_HTTP_HTMLSKIP_H
66 else if (c ==
'h' || c ==
'H')
73 if (c ==
'd' || c ==
'D')
80 if (c ==
'o' || c ==
'O')
87 if (c ==
'c' || c ==
'C')
94 if (c ==
't' || c ==
'T')
101 if (c ==
'y' || c ==
'Y')
108 if (c ==
'p' || c ==
'P')
115 if (c ==
'e' || c ==
'E')
122 if (c ==
' ' || c ==
'\t' || c ==
'\r' || c ==
'\n')
124 else if (c ==
'h' || c ==
'H')
131 if (c ==
't' || c ==
'T')
138 if (c ==
'm' || c ==
'M')
144 if (c ==
'l' || c ==
'L')
166 if (c ==
'h' || c ==
'H')
172 if (c ==
't' || c ==
'T')
178 if (c ==
'm' || c ==
'M')
184 if (c ==
'l' || c ==
'L')
196 if (!(c ==
'\n' || c ==
'\r'))
void move(BufferAllocatedType< T_ > &other)
Moves the contents of another BufferAllocatedType object into this object.
const T * c_data() const
Returns a const pointer to the start of the buffer.
void push_back(const T &value)
Append a T object to the end of the array, resizing the array if necessary.
void prepend(const T *data, const size_t size)
Prepend data to the buffer.
size_t size() const
Returns the size of the buffer in T objects.
void write(const T *data, const size_t size)
Write data to the buffer.
size_t offset() const
Returns the current offset (headroom) into the buffer.
void reset_content()
Resets the content of the buffer.
unsigned long n_bytes() const
void get_residual(BufferAllocated &buf) const
Status add(unsigned char c)