| 1 |
/* |
| 2 |
* Copyright (C) 2013 Red Hat, Inc. |
| 3 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef __COCKPIT_WS_H__ |
| 7 |
#define __COCKPIT_WS_H__ |
| 8 |
|
| 9 |
#include <gio/gio.h> |
| 10 |
|
| 11 |
G_BEGIN_DECLS |
| 12 |
|
| 13 |
/* Some tunables that can be set from tests. */ |
| 14 |
|
| 15 |
/* From cockpitwebsocket.c */ |
| 16 |
extern const gchar *cockpit_ws_session_program; |
| 17 |
extern guint cockpit_ws_ping_interval; |
| 18 |
extern guint cockpit_ws_auth_process_timeout; |
| 19 |
extern guint cockpit_ws_auth_response_timeout; |
| 20 |
|
| 21 |
/* From cockpitauth.c */ |
| 22 |
extern guint cockpit_ws_service_idle; |
| 23 |
extern const gchar *cockpit_ws_max_startups; |
| 24 |
|
| 25 |
G_END_DECLS |
| 26 |
|
| 27 |
#endif /* __COCKPIT_WS_H__ */ |