/*
* This file is part of Cockpit.
*
* Copyright (C) 2013 Red Hat, Inc.
*
* Cockpit is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* Cockpit 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Cockpit; If not, see .
*/
#ifndef __COCKPIT_WS_H__
#define __COCKPIT_WS_H__
#include
G_BEGIN_DECLS
/* Some tunables that can be set from tests. */
/* From cockpitwebsocket.c */
extern const gchar *cockpit_ws_session_program;
extern const gchar *cockpit_ws_ssh_program;
extern const gchar *cockpit_ws_default_host_header;
extern gint cockpit_ws_specific_ssh_port;
extern guint cockpit_ws_ping_interval;
extern gint cockpit_ws_session_timeout;
extern guint cockpit_ws_auth_process_timeout;
extern guint cockpit_ws_auth_response_timeout;
/* From cockpitauth.c */
extern guint cockpit_ws_service_idle;
extern guint cockpit_ws_process_idle;
extern const gchar *cockpit_ws_max_startups;
G_END_DECLS
#endif /* __COCKPIT_WS_H__ */