MCPcopy Create free account
hub / github.com/apache/trafficserver / value_get_index

Method value_get_index

include/proxy/hdrs/MIME.h:1407–1416  ·  view source on GitHub ↗

------------------------------------------------------------------------- -------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

1405/*-------------------------------------------------------------------------
1406 -------------------------------------------------------------------------*/
1407inline int
1408MIMEHdr::value_get_index(const char *name, int name_length, const char *value, int value_length) const
1409{
1410 const MIMEField *field = field_find(name, name_length);
1411
1412 if (field) {
1413 return field->value_get_index(value, value_length);
1414 }
1415 return -1;
1416}
1417
1418/*-------------------------------------------------------------------------
1419 -------------------------------------------------------------------------*/

Callers 1

is_header_keep_aliveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected