Refactored for version 4

This commit is contained in:
2020-12-09 19:21:57 +01:00
parent e68e0239c3
commit d104a43d1b
29 changed files with 81 additions and 3107 deletions

View File

@ -1,41 +0,0 @@
//
// Created by lorenz on 5/17/18.
//
#include <string>
#ifndef NECRONDA_SERVER
#define NECRONDA_SERVER
using namespace std;
unsigned long getMicros();
string formatTime(long micros);
string formatSize(unsigned long bytes);
string getWebRoot(string host);
string getMimeType(string path);
string getTimestamp(string path);
string getTimestamp(time_t time);
long getFileSize(string filename);
string url_decode(string url);
string url_encode(string url);
string html_decode(string text);
string html_encode(string text);
string cli_encode(string text);
string read_line(FILE *file);
#endif