| synopsis || return value || arguments || prev |

kdu_window::parse_metareq

Java: Kdu_window::Parse_metareq

const char * parse_metareq( const char * string)

Java: String Parse_metareq( String string)

[Declared in "../apps/compressed_io/kdu_client_window.h"]

Go to class description.


Synopsis

Parse the contents of a JPIP "metareq=" request field, adding elements to the metareq list as we go. This function does not reset the metareq list before it starts; instead, it simply appends the results obtained by parsing the supplied string to any existing list. Call init_metareq first if you wish to start with an empty list.

Note that this function will set metadata_only to true if it encounters the "!!" token. If this token is encountered, it must appear at the end of the string.


Return Value

NULL if the string is successfully parsed. Otherwise, returns a pointer to the first point in the supplied string at which a parsing error occurred.

Arguments

string [const char *]


| top || synopsis || return value || arguments || prev |