Added struct uri
This commit is contained in:
12
src/uri.h
12
src/uri.h
@ -8,4 +8,16 @@
|
|||||||
#ifndef NECRONDA_SERVER_URI_H
|
#ifndef NECRONDA_SERVER_URI_H
|
||||||
#define NECRONDA_SERVER_URI_H
|
#define NECRONDA_SERVER_URI_H
|
||||||
|
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
char *webroot;
|
||||||
|
char *path;
|
||||||
|
char *pathinfo;
|
||||||
|
char *query;
|
||||||
|
char *filename;
|
||||||
|
char *uri;
|
||||||
|
struct stat stat;
|
||||||
|
} uri;
|
||||||
|
|
||||||
#endif //NECRONDA_SERVER_URI_H
|
#endif //NECRONDA_SERVER_URI_H
|
||||||
|
Reference in New Issue
Block a user