2023-11-01 21:11:11 +00:00
|
|
|
// This file Copyright © Mnemosyne LLC.
|
2022-08-08 18:05:39 +00:00
|
|
|
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
2022-01-20 18:27:56 +00:00
|
|
|
// or any future license endorsed by Mnemosyne LLC.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2009-01-07 06:53:29 +00:00
|
|
|
|
2017-11-14 20:21:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
2009-12-15 00:51:39 +00:00
|
|
|
#ifndef __TRANSMISSION__
|
2017-04-19 12:04:45 +00:00
|
|
|
#error only libtransmission should #include this header.
|
2009-12-15 00:51:39 +00:00
|
|
|
#endif
|
|
|
|
|
2021-11-13 00:10:04 +00:00
|
|
|
#include <string>
|
2008-02-09 17:48:53 +00:00
|
|
|
|
2022-01-31 19:34:04 +00:00
|
|
|
struct tr_session;
|
|
|
|
|
2010-03-19 18:48:37 +00:00
|
|
|
/** @brief return the directory where the Web Client's web ui files are kept */
|
2022-11-03 23:08:02 +00:00
|
|
|
[[nodiscard]] std::string tr_getWebClientDir(tr_session const*);
|
2008-04-05 20:12:11 +00:00
|
|
|
|
2016-09-21 20:56:03 +00:00
|
|
|
/** @brief return the directory where session id lock files are stored */
|
2022-11-03 23:08:02 +00:00
|
|
|
[[nodiscard]] std::string tr_getSessionIdDir();
|