* Creates a flow file record * @param file file to place into the flow file. */
| 250 | * @param file file to place into the flow file. |
| 251 | */ |
| 252 | flow_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 | |
| 259 | flow_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)); |
no test coverage detected