Start XML export functiionality

This commit is contained in:
2022-12-17 19:15:45 +01:00
parent 320b0ce650
commit 681a66e127
6 changed files with 177 additions and 7 deletions

14
include/patchelfcrc/xml.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _ELFPATCHCRC_XML_H_
#define _ELFPATCHCRC_XML_H_
#include <stdint.h>
#include <linklist-lib/singly-linked-list.h>
#include <patchelfcrc/crc.h>
#include <patchelfcrc/elfpatch.h>
void xml_init(void);
int xml_write_crcs_to_file(const char *path, const uint32_t *crcs, SlList *section_names,
const struct crc_settings *crc_params, elfpatch_handle_t *ep);
#endif /* _ELFPATCHCRC_XML_H_ */