Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 605 Bytes
#ifndef FCGI_SERVER_H
#define FCGI_SERVER_H
#include <stdint.h>
#include "fcgi_request.h"
void fcgi_server_disconnect(fcgi_request_t *fr);
int fcgi_server_connect(fcgi_request_t *fr);
int fcgi_server_send_begin_record(fcgi_request_t *fr, uint16_t request_id,
void *record_buffer);
int fcgi_server_send_params_record(fcgi_request_t *fr, uint16_t request_id,
void *record_buffer);
int fcgi_server_send_stdin_record(fcgi_request_t *fr, uint16_t request_id,
void *record_buffer);
int fcgi_server_recv_stdout_stderr_record(fcgi_request_t *fr,
uint16_t request_id, void *record_buffer);
#endif