irssi/src/core/network-proxy-simple.h
Enrico Scholz 3300e07f29 PROXY/SIMPLE: added simple proxy method
This method implements the string + string_after mechanism implemented by
previous irssi versions.

To use, set
* proxy_type to 'simple' or keep it empty
* string + string_after in the known ways
2014-10-03 15:06:20 +02:00

33 lines
1.0 KiB
C

/* --*- c -*--
* Copyright (C) 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
*
* This program 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 and/or 3 of the License.
*
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef H_IRSSI_SRC_CORE_PROXY_SIMPLE_H
#define H_IRSSI_SRC_CORE_PROXY_SIMPLE_H
#include "network-proxy.h"
struct _network_proxy_simple {
struct network_proxy proxy;
char const *string_after;
char const *string;
char const *password;
};
struct network_proxy * _network_proxy_simple_create(void);
#endif /* H_IRSSI_SRC_CORE_PROXY_SIMPLE_H */