MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / create_ff_object

Function create_ff_object

nanofi/src/api/nanofi.cpp:252–257  ·  view source on GitHub ↗

* Creates a flow file record * @param file file to place into the flow file. */

Source from the content-addressed store, hash-verified

250 * @param file file to place into the flow file.
251 */
252flow_file_record* create_ff_object(const char *file, const size_t len, const uint64_t size) {
253 NULL_CHECK(nullptr, file);
254 flow_file_record *new_ff = create_ff_object_na(file, len, size);
255 new_ff->attributes = new AttributeMap();
256 return new_ff;
257}
258
259flow_file_record* create_ff_object_na(const char *file, const size_t len, const uint64_t size) {
260 flow_file_record *new_ff = (flow_file_record *) malloc(sizeof(flow_file_record));

Callers 1

create_flowfileFunction · 0.85

Calls 1

create_ff_object_naFunction · 0.85

Tested by

no test coverage detected