MHEG5
15.3.0
|
Go to the source code of this file.
Enumerations | |
enum | E_HTTP_FIELD { HTTP_FIELD_CONTENT_LENGTH, HTTP_FIELD_CONTENT_RANGE, HTTP_FIELD_CONTENT_TYPE, HTTP_FIELD_X_KEYS, HTTP_FIELD_X_KEY_LOCATION, HTTP_FIELD_X_BYTES_PER_SECOND, HTTP_FIELD_UNKNOWN } |
Functions | |
U8BIT * | httpHdrParseFieldName (U8BIT *data, U32BIT len, E_HTTP_FIELD *field) |
Parse field for its name in an HTTP header. | |
U64BIT | httpHdrParseContentLength (U8BIT *data, U32BIT len) |
Parse "Content-Length" header and return the content length in bytes. | |
U64BIT | httpHdrParseContentRange (U8BIT *data, U32BIT len) |
Parse "Content-Range" header and return the content length in bytes. |
U64BIT httpHdrParseContentLength | ( | U8BIT * | data, |
U32BIT | len | ||
) |
Parse "Content-Length" header and return the content length in bytes.
data | Header data |
len | Size of header data in bytes |
U64BIT httpHdrParseContentRange | ( | U8BIT * | data, |
U32BIT | len | ||
) |
Parse "Content-Range" header and return the content length in bytes.
data | Header data |
len | Size of header data in bytes |
U8BIT* httpHdrParseFieldName | ( | U8BIT * | data, |
U32BIT | len, | ||
E_HTTP_FIELD * | field | ||
) |
Parse field for its name in an HTTP header.
data | Header data |
len | Size of header data in bytes |
field | pointer to enum value for the field type |