?? epr_swap.h
字號:
/* * $Id: epr_swap.h,v 1.1.1.1 2003/03/05 17:36:43 hartmut Exp $ * * Copyright (C) 2002 by Brockmann Consult (info@brockmann-consult.de) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation. This program is distributed in the hope it will * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */#ifndef EPR_SWAP_H_INCL#define EPR_SWAP_H_INCL#include <stdio.h> /* just to get the ANSI-C type FILE */#ifdef __cplusplusextern "C" {#endifvoid byte_swap_short(short *buffer, uint number_of_swaps);void byte_swap_ushort(ushort* buffer, uint number_of_swaps);void byte_swap_long(long *buffer, uint number_of_swaps);void byte_swap_ulong(ulong* buffer, uint number_of_swaps);void byte_swap_float(float* buffer, uint number_of_swaps);void epr_swap_endian_order(const EPR_SField* field);int epr_is_big_endian_order();int epr_is_little_endian_order();#ifdef __cplusplus}#endif#endif /* EPR_SWAP_H_INCL */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -