snapraid/cmdline/snapraid.h

27 lines
617 B
C
Raw Permalink Normal View History

// SPDX-License-Identifier: GPL-3.0-or-later
2026-04-02 16:25:49 +02:00
// Copyright (C) 2011 Andrea Mazzoleni
#ifndef SNAPRAID_H
#define SNAPRAID_H
/****************************************************************************/
/* snapraid */
2026-01-08 17:28:35 +01:00
void speed(int period, int disks_number, int blocks_size);
/**
* Runs the extensive test suite, including all unit tests and selftest.
*/
void test(int argc, char* argv[]);
/**
* Runs a fast self-test for functionality that could be miscompiled,
* primarily to verify inline assembly clobber and ABI requirements.
*/
void selftest(void);
int snapraid_main(int argc, char* argv[]);
#endif