
#ifndef __CGI_REQUEST_H__
#define __CGI_REQUEST_H__

#include "http_request.h"

typedef struct s_CgiRequest CgiRequest;

CgiRequest * cgi_request_new (HttpRequest *request);
void cgi_request_destroy (void *ptr);

bool cgi_request_start (CgiRequest *instance);

void cgi_request_handler (HttpRequest *request, void *context);

#endif
