?? endian_func.h
字號:
// endian_func.h - contians endian conversion functions
// Copyright (c) 2000 Atheros Communications, Inc., All Rights Reserved */
// modification history
// --------------------
// 21Jan02 sharmat Created.
// description
// -----------
// Contains functions which converts short and long integers from big endian
// to little endian and vice versa.
#ifndef __INCendian_funch
#define __INCendian_funch
#include "wlantype.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
A_UINT32 ltob_l
(
A_UINT32 num
);
A_UINT16 ltob_s
(
A_UINT16 num
);
A_UINT32 btol_l
(
A_UINT32 num
);
A_UINT16 btol_s
(
A_UINT16 num
);
A_UINT32 swap_l
(
A_UINT32 num
);
A_UINT16 swap_s
(
A_UINT16 num
);
void swapAndCopyBlock_l
(
void *dest,
void *src,
A_UINT32 size
);
void swapBlock_l
(
void *src,
A_UINT32 size
);
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // __INCendian_funch
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -