Basically Working

This commit is contained in:
2018-05-18 17:22:01 +02:00
parent 164eda05fe
commit 0c2590b3f5
6 changed files with 460 additions and 12 deletions

28
src/necronda-server.h Normal file

@ -0,0 +1,28 @@
//
// Created by lorenz on 5/17/18.
//
#include <string>
#ifndef NECRONDA_SERVER
#define NECRONDA_SERVER
#define CHUNK 16384
using namespace std;
unsigned long getMicros();
string formatTime(long micros);
string getWebRoot(string host);
string getMimeType(string path);
string getHttpDate(time_t time);
string getHttpDate();
string getHttpDate(string filename);
#endif