Debian Codegraph @

src/ws/cockpitchannelresponse.h

raw
1 /*
2 * Copyright (C) 2015 Red Hat, Inc.
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6 #ifndef __COCKPIT_CHANNEL_RESPONSE_H__
7 #define __COCKPIT_CHANNEL_RESPONSE_H__
8
9 #include "cockpitwebserver.h"
10 #include "cockpitwebservice.h"
11
12 G_BEGIN_DECLS
13
14
15 void cockpit_channel_response_serve (CockpitWebService *service,
16 GHashTable *headers,
17 CockpitWebResponse *response,
18 const gchar *where,
19 const gchar *path);
20
21 void cockpit_channel_response_open (CockpitWebService *service,
22 CockpitWebRequest *request,
23 JsonObject *open);
24
25 G_END_DECLS
26
27 #endif /* __COCKPIT_CHANNEL_RESPONSE_H__ */