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

Function TSfopen

src/api/InkAPI.cc:775–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773////////////////////////////////////////////////////////////////////
774
775TSFile
776TSfopen(const char *filename, const char *mode)
777{
778 FileImpl *file;
779
780 file = new FileImpl;
781 if (!file->fopen(filename, mode)) {
782 delete file;
783 return nullptr;
784 }
785
786 return reinterpret_cast<TSFile>(file);
787}
788
789void
790TSfclose(TSFile filep)

Callers 8

TSPluginInitFunction · 0.85
psi_includeFunction · 0.85
loadFunction · 0.85
read_denylistFunction · 0.85
log_test_handlerFunction · 0.85
loadHandlerConfFunction · 0.85
getFileFunction · 0.85

Calls 1

fopenMethod · 0.80

Tested by 2

log_test_handlerFunction · 0.68