summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_fcgi.h
blob: ccf48f5954da98b52e6332b4c1ccb2f94c28f4bd (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
#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:
  int write_data(const char *buf, int len);
  int read_data(char *buf, int len);

public:
  RGWFCGX(FCGX_Request *_fcgx) : fcgx(_fcgx) {}
  void flush();
  const char **envp();
};


#endif