| 1 |
/* |
| 2 |
* Copyright (C) 2016 Red Hat, Inc. |
| 3 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef __COCKPIT_BRANDING_H__ |
| 7 |
#define __COCKPIT_BRANDING_H__ |
| 8 |
|
| 9 |
G_BEGIN_DECLS |
| 10 |
|
| 11 |
#include "cockpitwebservice.h" |
| 12 |
|
| 13 |
gchar ** cockpit_branding_calculate_static_roots (const gchar *os_id, |
| 14 |
const gchar *os_variant_id, |
| 15 |
const gchar *os_id_like, |
| 16 |
gboolean is_local); |
| 17 |
|
| 18 |
void cockpit_branding_serve (CockpitWebService *service, |
| 19 |
CockpitWebResponse *response, |
| 20 |
const gchar *full_path, |
| 21 |
const gchar *static_path, |
| 22 |
GHashTable *local_os_release, |
| 23 |
const gchar **local_roots); |
| 24 |
|
| 25 |
G_END_DECLS |
| 26 |
|
| 27 |
#endif /* __COCKPIT_BRANDING_H__ */ |