#include <cstdlib>
#include "unix_buffer.H"
#include <fstream>
#include <string>
#include "qsieve-fwd.H"
#include <getopt.h>

Go to the source code of this file.
Functions | |
| void | usage (void) |
| int | main (const int argc, char *const argv[]) |
Variables | |
| const char *const | option_string = "+hgpvi:f:" |
| static struct option | long_options [] |
If the sieving is done offline by a file-client, the sieved relations are stored in files. These data need to be transmitted to the server somehow. This is done by the transfer-client, which is implemented here.
Definition in file transfer-client.cc.
| int main | ( | const int | argc, | |
| char *const | argv[] | |||
| ) |
Definition at line 50 of file transfer-client.cc.
References cerr, communication_stream, count(), cout, endl(), exit(), flush(), std::basic_ifstream< _CharT, _Traits >::get(), std::basic_ifstream< _CharT, _Traits >::getline(), long_options, option_string, std::basic_ifstream< _CharT, _Traits >::peek(), std::basic_ofstream< _CharT, _Traits >::put(), QsieveLogon, server_port, and usage().

| void usage | ( | void | ) |
Definition at line 37 of file transfer-client.cc.
Referenced by main().

struct option long_options[] [static] |
Initial value:
{
{ "help", 0, 0, 'h' },
{ "get", 0, 0, 'g' },
{ "put", 0, 0, 'p' },
{ "verbose", 0, 0, 'v' },
{ "interval", 1, 0, 'i' },
{ "file", 1, 0, 'f' },
{ 0, 0, 0, 0 }
}
Definition at line 26 of file transfer-client.cc.
Referenced by main().
| const char* const option_string = "+hgpvi:f:" |
1.5.4