feat(raft-library): task 1.1 — build scaffold (raft/ files + meson wiring)

This commit is contained in:
Rongsong Shen 2026-05-31 04:51:42 +00:00
parent dbb750ebd3
commit 7f7de013b9
7 changed files with 225 additions and 0 deletions

3
src/lib/raft/raft.c Normal file
View file

@ -0,0 +1,3 @@
#include "raft.h"
/* raft library — populated in task 2 */

10
src/lib/raft/raft.h Normal file
View file

@ -0,0 +1,10 @@
#ifndef RAFT_H
#define RAFT_H
/* raft library — populated in task 2 */
#include <errno.h>
#include <stdint.h>
#include <string.h>
#endif /* RAFT_H */

5
src/lib/raft/raft_sim.c Normal file
View file

@ -0,0 +1,5 @@
#ifdef XCE_TESTING
/* raft simulation helpers — populated in task 2 */
#endif /* XCE_TESTING */