rofi/include/dialogs/ssh.h

51 lines
1.7 KiB
C
Raw Normal View History

/*
* rofi
*
* MIT/X11 License
* Copyright © 2013-2017 Qball Cow <qball@gmpclient.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifndef ROFI_DIALOG_SSH_H
#define ROFI_DIALOG_SSH_H
2021-08-17 23:16:45 +00:00
#include "mode.h"
2016-01-05 18:49:13 +00:00
/**
* @defgroup SSHMode SSH
2016-01-07 07:54:24 +00:00
* @ingroup MODES
2016-01-05 18:49:13 +00:00
*
* SSH Mode, returns a list of known SSH hosts the user can log into.
* It does this by parsing the SSH config file and optional the known host and host list
2017-11-23 17:41:52 +00:00
* It also keeps history of the last chosen hosts.
2016-01-05 18:49:13 +00:00
*
* This mode uses the following options from the #config object:
2016-07-29 06:32:34 +00:00
* * #Settings::ssh_command
* * #Settings::parse_known_hosts
* * #Settings::parse_hosts
2016-01-05 18:49:13 +00:00
*
* @{
*/
2016-10-14 14:46:54 +00:00
/** #Mode object representing the ssh dialog. */
extern Mode ssh_mode;
2020-10-12 19:39:36 +00:00
/**@}*/
#endif // ROFI_DIALOG_SSH_H