Mercurial
diff seobeo/snapshot_creator.h @ 67:6626ec933933
[Seobeo] Separated out Client Server logic. Created test tools.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Dec 2025 09:15:55 -0800 |
| parents | |
| children | 551d9fc0a2ba |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seobeo/snapshot_creator.h Wed Dec 24 09:15:55 2025 -0800 @@ -0,0 +1,21 @@ +#ifndef SEOBEO_SNAPSHOT_CREATOR_H +#define SEOBEO_SNAPSHOT_CREATOR_H + +#include "seobeo/seobeo.h" + +typedef struct +{ + const char *path; + int expected_status; + const char *snapshot_dir; + const char *host; + const char *port; +} SnapshotConfig; + +// Create a snapshot for a single path +int Seobeo_Snapshot_Create(const SnapshotConfig *config); + +// Create snapshots for multiple paths +int Seobeo_Snapshots_Create_Batch(const SnapshotConfig configs[], int count); + +#endif