Added global variables in sitefiles to allow for https support
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
*/
|
||||
#ifndef _HAVE_UTIL
|
||||
#define _HAVE_UTIL
|
||||
typedef enum {
|
||||
TCP,
|
||||
TLS,
|
||||
} SocketType;
|
||||
|
||||
typedef enum {
|
||||
GET,
|
||||
POST,
|
||||
@@ -30,6 +35,8 @@ typedef enum {
|
||||
//INVALID in HTTP/1.1.
|
||||
} RequestType;
|
||||
|
||||
int initLogging(char *path);
|
||||
int createLog(char *msg);
|
||||
int istrcmp(char *s1, char *s2);
|
||||
//case insensitive strcmp
|
||||
RequestType getType(char *str);
|
||||
|
||||
Reference in New Issue
Block a user