#include <HdrUtils.h>
Public Member Functions | |
HdrCsvIter (const char s= ',') | |
const char * | get_first (MIMEField *m, int *len, bool follow_dups=true) |
const char * | get_next (int *len) |
const char * | get_current (int *len) |
const char * | get_nth (MIMEField *m, int *len, int n, bool follow_dups=true) |
int | count_values (MIMEField *field, bool follow_dups=true) |
int | get_index () |
int | get_first_int (MIMEField *m, int *valid=NULL) |
int | get_next_int (int *valid=NULL) |
Definition at line 41 of file HdrUtils.h.
HdrCsvIter::HdrCsvIter | ( | const char | s = ',' |
) | [inline] |
Definition at line 46 of file HdrUtils.h.
int HdrCsvIter::count_values | ( | MIMEField * | field, | |
bool | follow_dups = true | |||
) |
Definition at line 138 of file HdrUtils.cc.
References get_first(), and get_next().
Referenced by HttpCompat::do_header_values_rfc2068_14_43_match().
const char * HdrCsvIter::get_current | ( | int * | len | ) | [inline] |
Definition at line 141 of file HdrUtils.h.
Referenced by HttpTransact::delete_warning_value().
const char * HdrCsvIter::get_first | ( | MIMEField * | m, | |
int * | len, | |||
bool | follow_dups = true | |||
) | [inline] |
Definition at line 104 of file HdrUtils.h.
Referenced by HttpTransact::check_request_validity(), count_values(), HttpCompat::do_header_values_rfc2068_14_43_match(), get_first_int(), get_nth(), HttpTransact::initialize_state_variables_from_response(), is_header_keep_alive(), HttpTransact::merge_warning_header(), HttpSM::parse_range_and_compare(), and MIMEHdrImpl::recompute_cooked_stuff().
int HdrCsvIter::get_first_int | ( | MIMEField * | m, | |
int * | valid = NULL | |||
) | [inline] |
Definition at line 148 of file HdrUtils.h.
References get_first(), and ink_atoi().
Referenced by HttpTransact::delete_warning_value().
int HdrCsvIter::get_index | ( | ) |
const char * HdrCsvIter::get_next | ( | int * | len | ) | [inline] |
Definition at line 126 of file HdrUtils.h.
Referenced by HttpTransact::check_request_validity(), count_values(), HttpCompat::do_header_values_rfc2068_14_43_match(), get_next_int(), get_nth(), HttpTransact::initialize_state_variables_from_response(), is_header_keep_alive(), HttpTransact::merge_warning_header(), HttpSM::parse_range_and_compare(), and MIMEHdrImpl::recompute_cooked_stuff().
int HdrCsvIter::get_next_int | ( | int * | valid = NULL |
) | [inline] |
Definition at line 165 of file HdrUtils.h.
References get_next(), and ink_atoi().
Referenced by HttpTransact::delete_warning_value().
const char * HdrCsvIter::get_nth | ( | MIMEField * | m, | |
int * | len, | |||
int | n, | |||
bool | follow_dups = true | |||
) |
Definition at line 119 of file HdrUtils.cc.
References get_first(), get_next(), and ink_assert.