Files
codebase-memory-mcp/internal/cbm/lz4_store.h
Martin Vogel 94a9a92f83 Add C-native pipeline with blocking clang-tidy, cppcheck, clang-format linting
Complete C implementation of the indexing pipeline (src/), parallel worker
pool, graph buffer with merge support, SQLite writer, and 1893-test suite.

Linter setup: zero warnings from clang-tidy (all checks enabled, no NOLINT
suppressions), cppcheck, and clang-format. All issues fixed at source —
proper headers for external linkage, GROW_ARRAY macro restructured to
eliminate type parameter, null-deref paths guarded, named intermediates
for suspicious-argument checks.
2026-03-15 19:26:12 +01:00

14 lines
359 B
C

#ifndef CBM_LZ4_STORE_H
#define CBM_LZ4_STORE_H
// LZ4 HC compression (level 9).
int cbm_lz4_compress_hc(const char *src, int srcLen, char *dst, int dstCap);
// LZ4 decompression.
int cbm_lz4_decompress(const char *src, int srcLen, char *dst, int originalLen);
// Maximum compressed size bound.
int cbm_lz4_bound(int inputSize);
#endif // CBM_LZ4_STORE_H