You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
337 B
C
22 lines
337 B
C
struct RequestMeta {
|
|
int seq;
|
|
char *path;
|
|
};
|
|
|
|
typedef struct RequestMeta RequestMeta;
|
|
|
|
struct ResponseMeta {
|
|
int seq;
|
|
int status;
|
|
int bytes;
|
|
};
|
|
|
|
typedef struct ResponseMeta ResponseMeta;
|
|
|
|
void initialize();
|
|
int run();
|
|
void shutdown();
|
|
void set_root(char *);
|
|
void received_request(RequestMeta *);
|
|
void sent_response(ResponseMeta *);
|