view seobeo/snapshot_creator.h @ 68:70ca1d99f3fd

Mimicing what tsoding did for his video. Kinda cool.
author June Park <parkjune1995@gmail.com>
date Thu, 25 Dec 2025 20:03:51 -0800
parents 6626ec933933
children 551d9fc0a2ba
line wrap: on
line source

#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