26 typedef std::vector<Zip::header_t> Headers;
33 int write(
const char* data,
size_t data_size);
34 int read(
char* data,
size_t max_data_size,
int timeout = 0);
37 bool uncompress(
const std::string& file_name,
38 const std::string& pass =
"");
39 Zip::Headers headers(
void)
const;
40 bool open_read_header(
const std::string& name);
42 bool compress(
const std::string& file_name,
43 const std::string& pass =
"");
44 bool add_write_header(
const std::string& name, time_t time);
49 Zip& operator = (
const Zip& rhs);
52 std::auto_ptr<pImpl> pimpl;
int read(char *data, size_t max_data_size, int timeout=0)
データの受信
Definition: Zip.cpp:1001
int write(const char *data, size_t data_size)
データの送信
Definition: Zip.cpp:992
void close(void)
接続を閉じる
Definition: Zip.cpp:985
bool is_open(void) const
受信
Definition: Zip.cpp:976