| Revision 538,
1.3 KB
checked in by eagle, 2 years ago
(diff) |
- options are parsed sequentially (-f and -I first)
- config file is always read from SYSCONFDIR (usually /etc or /usr/local/etc)
- changed Makefile.am to not install header files
|
| Line | |
|---|
| 1 | /* Copyright 2008 Bernhard R. Fischer, Daniel Haslinger. |
|---|
| 2 | * |
|---|
| 3 | * This file is part of OnionCat. |
|---|
| 4 | * |
|---|
| 5 | * OnionCat is free software: you can redistribute it and/or modify |
|---|
| 6 | * it under the terms of the GNU General Public License as published by |
|---|
| 7 | * the Free Software Foundation, version 3 of the License. |
|---|
| 8 | * |
|---|
| 9 | * OnionCat is distributed in the hope that it will be useful, |
|---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | * GNU General Public License for more details. |
|---|
| 13 | * |
|---|
| 14 | * You should have received a copy of the GNU General Public License |
|---|
| 15 | * along with OnionCat. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | */ |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | #include "ocat_netdesc.h" |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | const struct NetDesc netdesc_[2] = |
|---|
| 23 | { |
|---|
| 24 | { |
|---|
| 25 | TOR_PREFIX, TOR_PREFIX_LEN, |
|---|
| 26 | TOR_PREFIX4, TOR_PREFIX4_MASK, |
|---|
| 27 | TOR_ONION_NAME_SIZE, |
|---|
| 28 | TOR_DOMAIN, |
|---|
| 29 | TOR_OCAT_LISTEN_PORT, |
|---|
| 30 | TOR_OCAT_CTRL_PORT, |
|---|
| 31 | TOR_OCAT_DEST_PORT, |
|---|
| 32 | TOR_SOCKS_PORT, |
|---|
| 33 | TOR_OCAT_CONNECT_LOG, |
|---|
| 34 | TOR_PID_FILE, |
|---|
| 35 | "ocat.conf", |
|---|
| 36 | }, |
|---|
| 37 | { |
|---|
| 38 | I2P_PREFIX, I2P_PREFIX_LEN, |
|---|
| 39 | I2P_PREFIX4, I2P_PREFIX4_MASK, |
|---|
| 40 | I2P_ONION_NAME_SIZE, |
|---|
| 41 | I2P_DOMAIN, |
|---|
| 42 | I2P_OCAT_LISTEN_PORT, |
|---|
| 43 | I2P_OCAT_CTRL_PORT, |
|---|
| 44 | I2P_OCAT_DEST_PORT, |
|---|
| 45 | I2P_SOCKS_PORT, |
|---|
| 46 | I2P_OCAT_CONNECT_LOG, |
|---|
| 47 | I2P_PID_FILE, |
|---|
| 48 | "gcat.conf", |
|---|
| 49 | }, |
|---|
| 50 | }; |
|---|
| 51 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.