Sleds/gluster_status/FileSystemTest.h

23 lines
631 B
C++

/*
Copyright (c) 2014 IOnU Security Inc. All rights reserved
Created February 2014 by Kendrick Webster
FileSystemTest.h - header for file system test module
*/
#pragma once
#include <stdint.h>
#include <string>
#include "Network.h"
/*
Filesystem test functions. These are asynchronous.
Results are returned via messages sent to loopback UDP IPC.
*/
namespace ionu { namespace filesystem_test {
void CreateTestFile(const std::string& name, size_t size);
void CheckTestFile(const std::string& name, const std::string& hash, ionu::network::CAddress reply_to);
void DeleteTestFile(const std::string& name);
}}