Merge "Make header files more stand-alone"

This commit is contained in:
Zuul
2025-09-15 17:07:14 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 0 deletions

View File

@@ -29,6 +29,8 @@
#ifndef _ERASURECODE_POSTPROCESSING_H_ #ifndef _ERASURECODE_POSTPROCESSING_H_
#define _ERASURECODE_POSTPROCESSING_H_ #define _ERASURECODE_POSTPROCESSING_H_
#include "erasurecode_backend.h"
int finalize_fragments_after_encode(ec_backend_t instance, int finalize_fragments_after_encode(ec_backend_t instance,
int k, int m, int blocksize, uint64_t orig_data_size, int k, int m, int blocksize, uint64_t orig_data_size,
char **encoded_data, char **encoded_parity); char **encoded_data, char **encoded_parity);

View File

@@ -29,6 +29,8 @@
#ifndef _ERASURECODE_PREPROCESSING_H_ #ifndef _ERASURECODE_PREPROCESSING_H_
#define _ERASURECODE_PREPROCESSING_H_ #define _ERASURECODE_PREPROCESSING_H_
#include "erasurecode_backend.h"
int prepare_fragments_for_encode( int prepare_fragments_for_encode(
ec_backend_t instance, ec_backend_t instance,
int k, int m, int k, int m,

View File

@@ -27,6 +27,8 @@
* vi: set noai tw=79 ts=4 sw=4: * vi: set noai tw=79 ts=4 sw=4:
*/ */
#include "erasurecode_backend.h"
#define ISA_L_W 8 #define ISA_L_W 8
/* Forward declarations */ /* Forward declarations */