blob: 97d425f1be463acbe1ddf2ab0e50c75a48e97e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef CEPH_RGW_FCGI_H
#define CEPH_RGW_FCGI_H
#include "rgw_client_io.h"
struct FCGX_Request;
class RGWFCGX : public RGWClientIO
{
FCGX_Request *fcgx;
protected:
void init_env(CephContext *cct);
int write_data(const char *buf, int len);
int read_data(char *buf, int len);
int send_status(const char *status, const char *status_name);
int send_100_continue();
int complete_header();
public:
RGWFCGX(FCGX_Request *_fcgx) : fcgx(_fcgx) {}
void flush();
};
#endif
|