Added global variables in sitefiles to allow for https support
This commit is contained in:
@@ -36,8 +36,11 @@ typedef struct {
|
||||
typedef struct {
|
||||
int size;
|
||||
SiteCommand *content;
|
||||
SocketType type;
|
||||
char *key;
|
||||
char *cert;
|
||||
} Sitefile;
|
||||
|
||||
Sitefile *parseFile(char *path);
|
||||
Sitefile *parseSitefile(char *path);
|
||||
void freeSitefile(Sitefile *site);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user