mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
client code (rgw_rest* et al) does not need to see the fcgi library details. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
25 lines
360 B
C++
25 lines
360 B
C++
#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
|