Mercurial
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 66:a0f0ad5e42eb | 67:6626ec933933 |
|---|---|
| 1 #ifndef SEOBEO_SNAPSHOT_CREATOR_H | |
| 2 #define SEOBEO_SNAPSHOT_CREATOR_H | |
| 3 | |
| 4 #include "seobeo/seobeo.h" | |
| 5 | |
| 6 typedef struct | |
| 7 { | |
| 8 const char *path; | |
| 9 int expected_status; | |
| 10 const char *snapshot_dir; | |
| 11 const char *host; | |
| 12 const char *port; | |
| 13 } SnapshotConfig; | |
| 14 | |
| 15 // Create a snapshot for a single path | |
| 16 int Seobeo_Snapshot_Create(const SnapshotConfig *config); | |
| 17 | |
| 18 // Create snapshots for multiple paths | |
| 19 int Seobeo_Snapshots_Create_Batch(const SnapshotConfig configs[], int count); | |
| 20 | |
| 21 #endif |