MCPcopy Create free account
hub / github.com/acl-dev/acl / update_begin

Method update_begin

lib_acl_cpp/src/mime/mime.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void mime::update_begin(const char* path) {
94 reset();
95 if (m_pFilePath) {
96 acl_myfree(m_pFilePath);
97 }
98 if (path && *path) {
99 m_pFilePath = acl_mystrdup(path);
100 }
101}
102
103bool mime::update(const char* data, size_t len) const {
104 return mime_state_update(m_pMimeState, data, (int) len) == 1;

Callers 10

test_zlib_pipeFunction · 0.45
test_mime_headerFunction · 0.45
mime_test1Function · 0.45
mime_test2Function · 0.45
mime_test4Function · 0.45
test1Function · 0.45
set_charset_convMethod · 0.45
set_charsetMethod · 0.45
decoder_updateFunction · 0.45
decode_finishMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_zlib_pipeFunction · 0.36
test_mime_headerFunction · 0.36