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

Function isWriteable

src/api/InkAPI.cc:577–584  ·  view source on GitHub ↗

The function checks if the buffer is Modifiable and returns true if it is modifiable, else returns false. */

Source from the content-addressed store, hash-verified

575
576*/
577bool
578isWriteable(TSMBuffer bufp)
579{
580 if (bufp != nullptr) {
581 return (reinterpret_cast<HdrHeapSDKHandle *>(bufp))->m_heap->m_writeable;
582 }
583 return false;
584}
585
586////////////////////////////////////////////////////////////////////
587//

Callers 15

TSMBufferDestroyFunction · 0.85
TSUrlCreateFunction · 0.85
TSUrlCloneFunction · 0.85
TSUrlCopyFunction · 0.85
TSUrlParseFunction · 0.85
URLPartSetFunction · 0.85
TSUrlPortSetFunction · 0.85
TSUrlFtpTypeSetFunction · 0.85
TSMimeHdrCreateFunction · 0.85
TSMimeHdrDestroyFunction · 0.85
TSMimeHdrCloneFunction · 0.85
TSMimeHdrCopyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected