moved magic.h to tlibc
This commit is contained in:
parent
d0d7d26671
commit
23c98e14df
2
dependencies/tlibc
vendored
2
dependencies/tlibc
vendored
@ -1 +1 @@
|
|||||||
Subproject commit c68e4e87b327ad21cd664e50ee2b5ef4ded3aed9
|
Subproject commit ec164dc4e92dd20401b97e979507ec8f04f04af7
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user