/* This file is part of SLC. Copyright (C) 2008 Sebastien LUTTRINGER SLC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. SLC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SLC; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef OPTIONS_HH # define OPTIONS_HH struct Options { Options(); Options &load(int argc, char *argv[]); Options &loadenv(); void usage(const char *name, ostream &out) const; friend ostream &operator<<(ostream &, const Options &); string server; int port; //-1 undef string login; string pass; string history_file; size_t history_size; size_t log_size; }; #endif