commit 67ba8d182c859308cd0761133d3c6cd3c7f29f95 Author: David Goulet dgoulet@ev0ke.net Date: Sun Jun 2 14:08:09 2013 -0400
Add defaults.h containing some defaults value
Signed-off-by: David Goulet dgoulet@ev0ke.net --- src/common/defaults.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/src/common/defaults.h b/src/common/defaults.h new file mode 100644 index 0000000..c13db66 --- /dev/null +++ b/src/common/defaults.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2013 - David Goulet dgoulet@ev0ke.net + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License, version 2 only, as + * published by the Free Software Foundation. + * + * This program 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 + * this program; if not, write to the Free Software Foundation, Inc., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef TORSOCKS_DEFAULTS_H +#define TORSOCKS_DEFAULTS_H + +#define DEFAULT_TOR_PORT 9050 +#define DEFAULT_TOR_ADDRESS "127.0.0.1" +#define DEFAULT_TOR_SOCKS 5 + +#endif /* TORSOCKS_DEFAULTS_H */