SDR++ server beta :)
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
#pragma once
|
||||
#include <utils/networking.h>
|
||||
#include <dsp/stream.h>
|
||||
#include <dsp/types.h>
|
||||
#include <server_protocol.h>
|
||||
|
||||
int server_main();
|
||||
namespace server {
|
||||
void setInput(dsp::stream<dsp::complex_t>* stream);
|
||||
int main();
|
||||
|
||||
void _clientHandler(net::Conn conn, void* ctx);
|
||||
void _packetHandler(int count, uint8_t* buf, void* ctx);
|
||||
void _testServerHandler(uint8_t* data, int count, void* ctx);
|
||||
|
||||
void drawMenu();
|
||||
|
||||
void commandHandler(Command cmd, uint8_t* data, int len);
|
||||
void renderUI(SmGui::DrawList* dl, std::string diffId, SmGui::DrawListElem diffValue);
|
||||
void sendUI(Command originCmd, std::string diffId, SmGui::DrawListElem diffValue);
|
||||
void sendError(Error err);
|
||||
void sendSampleRate(double sampleRate);
|
||||
void setInputSampleRate(double samplerate);
|
||||
|
||||
void sendPacket(PacketType type, int len);
|
||||
void sendCommand(Command cmd, int len);
|
||||
void sendCommandAck(Command cmd, int len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user