mirror of
https://github.com/LSPosed/LSPlt.git
synced 2025-05-06 21:48:48 +08:00
17 lines
473 B
C++
17 lines
473 B
C++
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <string_view>
|
|
|
|
namespace lsplt {
|
|
inline namespace v1 {
|
|
[[maybe_unused, gnu::visibility("default")]] bool RegisterHook(ino_t ino, std::string_view symbol,
|
|
void *callback, void **backup);
|
|
|
|
[[maybe_unused, gnu::visibility("default")]] bool CommitHook();
|
|
|
|
[[maybe_unused, gnu::visibility("default")]] bool InvalidateBackup();
|
|
} // namespace v1
|
|
} // namespace lsplt
|