mirror of
https://github.com/aydencharles/onionHEN.git
synced 2026-10-22 11:53:07 -05:00
Rename product, namespaces, libraries, paths, and assets from Orion/orion to Onion/onion across the tree. TCP stack-shutdown magic is now ONIO (0x4F4E494F) to match the corrected branding.
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/* Copyright (C) 2025 OnionHEN / LightningMods
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by the
|
|
Free Software Foundation; either version 3, or (at your option) any
|
|
later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; see the file COPYING. If not, see
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
#pragma once
|
|
#include <string>
|
|
#include <msg.hpp>
|
|
#include <onion/ipc_server.hpp>
|
|
// clientArgs = onion::IpcClientArgs (see ipc_server.hpp)
|
|
extern bool show_notification;
|
|
#ifdef __cplusplus
|
|
#define restrict // Define restrict as empty for C++
|
|
#endif
|
|
|
|
|
|
|
|
void startMessageReceiver();
|
|
bool hasPrefixHandler(const uint32_t prefix) noexcept;
|
|
void* messageThread(void*);
|
|
bool GetFileContents(const char *path, char **buffer); |