send tasks

This commit is contained in:
2026-01-15 09:05:19 +01:00
parent 16a9537cbd
commit e68ae73a87
19 changed files with 298 additions and 28 deletions

10
include/server/info.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef INFO_H
#define INFO_H
#include <stdint.h>
#define SERVER_HELLO_PACKET_SIZE 17 // 1 byte version + 16 byte identifier
const uint8_t SERVER_INFO_VERSION = 1;
const char SERVER_INFO_IDENTIFIER[16] = "EXAMPLE_SERVER\0";
#endif

View File

@@ -14,4 +14,4 @@ void TaskQueue_AddTask(task_queue_t* queue, task_t* task);
void TaskQueue_RemoveTask(task_queue_t* queue, size_t idx);
void TaskQueue_RemoveTaskByPtr(task_queue_t* queue, task_t* task);
#endif
#endif