Simulator database for X-Plane

This commit is contained in:
2022-01-03 04:56:27 +01:00
parent eca1efdf83
commit 4b893ca726
16 changed files with 1054 additions and 230 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef GERMANAIRLINESVA_GACONNECTOR_TYPES_H
#define GERMANAIRLINESVA_GACONNECTOR_TYPES_H
#ifndef GERMANAIRLINESVA_GACONNECTOR_WEBSOCKET_TYPES_H
#define GERMANAIRLINESVA_GACONNECTOR_WEBSOCKET_TYPES_H
#include <cstdint>
+1 -21
View File
@@ -10,21 +10,7 @@
#include <json.hpp>
#include "types.h"
#ifdef IBM
// clang-format off
#include <wtypes.h>
#include <wincrypt.h>
// clang-format on
#endif
#ifdef APL
#include <CommonCrypto/CommonDigest.h>
#include <sys/mman.h>
#endif
#ifdef LIN
#include <openssl/md5.h>
#include <sys/mman.h>
#endif
#include "util.h"
#include <cstring>
#include <functional>
@@ -51,12 +37,6 @@ public:
ix::WebSocket &ws,
const ix::WebSocketMessagePtr &msg);
void sendData(data d);
int generateMD5(const char *filepath);
};
#if defined APL || defined LIN
unsigned long get_size_by_fd(int fd);
#endif
void to_hex(const char *hash, char *buffer);
#endif