Enforce one nameing convention
This commit is contained in:
22
src/Util.h
Normal file
22
src/Util.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include <thread>
|
||||
#include <filesystem>
|
||||
#include <functional>
|
||||
#include <variant>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <emscripten/em_asm.h>
|
||||
#include <emscripten/console.h>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
enum UntarStatus {
|
||||
Successful,
|
||||
IncorrectFormat,
|
||||
IncorrectFiletype,
|
||||
FailedOpen,
|
||||
FailedWrite,
|
||||
FailedClose
|
||||
};
|
||||
void fireEv(int index, const char* content, const char* type = nullptr);
|
||||
int untar(unsigned char* tar, int tarSize, const std::string& storepath);
|
||||
Reference in New Issue
Block a user