Delete quic_util.h

This commit is contained in:
刘学利
2020-05-29 15:13:22 +08:00
parent af1a5fc710
commit 18235b7229

View File

@@ -1,40 +0,0 @@
/*
* quic_util.h
*
* Created on: 2019-4-4
* Author: root
*/
#ifndef SRC_QUIC_UTIL_H_
#define SRC_QUIC_UTIL_H_
#include <stddef.h>
#include <dlfcn.h>
#include <stdbool.h>
#include "gquic.h"
int readconf(const char* filename);
bool a_readUInt64(UINT64* buf, char* quic_data, UINT32 quic_data_len, UINT32* offset);
bool a_readUInt32(UINT32* buf, char* quic_data, UINT32 quic_data_len, UINT32* offset);
bool a_readUInt8(UINT8* buf, char* quic_data, UINT32 quic_data_len, UINT32* offset);
bool a_readUInt16(UINT16* buf, char* quic_data, UINT32 quic_data_len, UINT32* offset);
bool a_readBytes(void* buf, UINT32 len, char * quic_data, UINT32 quic_data_len, UINT32* quic_offset);
bool a_canRead(size_t bytes, UINT32 g_len_t, UINT32 g_pos_t);
UINT64 a_pletoh64(const void *p, UINT32 offset);
UINT64 a_pletoh48(const void *p, UINT32 offset);
UINT32 a_pletoh32(const void *p, UINT32 offset);
UINT32 a_pletoh24(const void *p, UINT32 offset);
UINT16 a_pletoh16(const void *p, UINT32 offset);
UINT16 a_pntoh16(const void *p, UINT32 offset);
UINT32 a_pntoh24(const void *p, UINT32 offset);
UINT32 a_pntoh32(const void *p, UINT32 offset);
UINT64 a_pntoh48(const void *p, UINT32 offset);
UINT64 a_pntoh64(const void *p, UINT32 offset);
void a_phton64(UINT8 *p, UINT64 v);
int get_remaining_len(UINT32 g_len_t, UINT32 offset);
void a_ntoa( unsigned int in, char *buffer);
#endif /* SRC_QUIC_UTIL_H_ */