Improved sitefiles

This commit is contained in:
Nate Choe
2022-01-22 03:55:44 -06:00
parent ad64e4ecb2
commit 55da97269b
7 changed files with 93 additions and 73 deletions

View File

@@ -17,9 +17,17 @@
*/
#ifndef _HAVE_SITEFILE
#define _HAVE_SITEFILE
#include <util.h>
typedef enum {
READ,
} Command;
typedef struct {
int argc;
char **argv;
RequestType respondto;
Command command;
char *path;
char *arg;
} SiteCommand;
typedef struct {