src/testlib/mock-auth.h
raw| 1 | /* |
| 2 | * Copyright (C) 2013 Red Hat, Inc. |
| 3 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 4 | */ |
| 5 | |
| 6 | #ifndef __MOCK_AUTH_H__ |
| 7 | #define __MOCK_AUTH_H__ |
| 8 | |
| 9 | #include <glib.h> |
| 10 | |
| 11 | G_BEGIN_DECLS |
| 12 | |
| 13 | GHashTable * mock_auth_basic_header (const gchar *user, |
| 14 | const gchar *password); |
| 15 | |
| 16 | void mock_auth_include_cookie_as_if_client (GHashTable *resp_headers, |
| 17 | GHashTable *req_headers, |
| 18 | const gchar *cookie_name); |
| 19 | G_END_DECLS |
| 20 | |
| 21 | #endif |