Mercurial
comparison seobeo/snapshot_creator.h @ 69:551d9fc0a2ba
Updated wrong names.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 25 Dec 2025 20:07:46 -0800 |
| parents | 6626ec933933 |
| children |
comparison
equal
deleted
inserted
replaced
| 68:70ca1d99f3fd | 69:551d9fc0a2ba |
|---|---|
| 1 #ifndef SEOBEO_SNAPSHOT_CREATOR_H | 1 #ifndef SEOBEO_SNAPSHOT_CREATOR_H |
| 2 #define SEOBEO_SNAPSHOT_CREATOR_H | 2 #define SEOBEO_SNAPSHOT_CREATOR_H |
| 3 | 3 |
| 4 #include "seobeo/seobeo.h" | 4 #include "seobeo/seobeo.h" |
| 5 | 5 |
| 6 typedef struct | 6 typedef struct { |
| 7 { | |
| 8 const char *path; | 7 const char *path; |
| 9 int expected_status; | 8 int expected_status; |
| 10 const char *snapshot_dir; | 9 const char *snapshot_dir; |
| 11 const char *host; | 10 const char *host; |
| 12 const char *port; | 11 const char *port; |
| 13 } SnapshotConfig; | 12 } SnapshotConfig; |
| 14 | 13 |
| 15 // Create a snapshot for a single path | |
| 16 int Seobeo_Snapshot_Create(const SnapshotConfig *config); | 14 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); | 15 int Seobeo_Snapshots_Create_Batch(const SnapshotConfig configs[], int count); |
| 20 | 16 |
| 21 #endif | 17 #endif |