postject_sys 0.1.5

Unofficial bindings for postject
Documentation
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */
#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
  const char* elf_section_name;
  const char* macho_section_name;
  const char* macho_segment_name;
  const char* pe_resource_name;
} postjectee_options;

const void *postjectee_find_resource(const char *name, size_t *size,
                                     postjectee_options options);
#ifdef __cplusplus
}
#endif