moved magic.h to tlibc
This commit is contained in:
2
dependencies/tlibc
vendored
2
dependencies/tlibc
vendored
Submodule dependencies/tlibc updated: c68e4e87b3...ec164dc4e9
@@ -1,5 +1,5 @@
|
|||||||
#include "idb.h"
|
#include "idb.h"
|
||||||
#include "magic.h"
|
#include "tlibc/magic.h"
|
||||||
#include "tlibc/filesystem.h"
|
#include "tlibc/filesystem.h"
|
||||||
#include "tlibc/collections/HashMap.h"
|
#include "tlibc/collections/HashMap.h"
|
||||||
#include "cryptography/AES.h"
|
#include "cryptography/AES.h"
|
||||||
|
|||||||
12
src/magic.h
12
src/magic.h
@@ -1,12 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "tlibc/std.h"
|
|
||||||
|
|
||||||
typedef union Magic32 {
|
|
||||||
u32 n;
|
|
||||||
u8 bytes[4];
|
|
||||||
} Magic32;
|
|
||||||
|
|
||||||
typedef union Magic64 {
|
|
||||||
u64 n;
|
|
||||||
u8 bytes[8];
|
|
||||||
} Magic64;
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "tlibc/errors.h"
|
#include "tlibc/errors.h"
|
||||||
#include "magic.h"
|
#include "tlibc/magic.h"
|
||||||
#include "tcp-chat/common_constants.h"
|
#include "tcp-chat/common_constants.h"
|
||||||
|
|
||||||
#define AES_SESSION_KEY_SIZE 32
|
#define AES_SESSION_KEY_SIZE 32
|
||||||
|
|||||||
Reference in New Issue
Block a user