view 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 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