1 /* input.h 2 * 3 * $Id$ 4 * 5 * Notice: This header file contains declarations of functions and types that 6 * are just used internally. All library functions and types that are supposed 7 * to be publicly accessable are defined in ./src/ming.h. 8 */ 9 10 #ifndef SWF_INPUT_H_INCLUDED 11 #define SWF_INPUT_H_INCLUDED 12 13 #include "ming.h" 14 15 int SWFInput_read(SWFInput input, unsigned char* buffer, int count); 16 17 int SWFInput_getChar(SWFInput input); 18 int SWFInput_getUInt16(SWFInput input); 19 int SWFInput_getUInt16_BE(SWFInput input); 20 int SWFInput_getSInt16(SWFInput input); 21 unsigned long SWFInput_getUInt24_BE(SWFInput input); 22 unsigned long SWFInput_getUInt32(SWFInput input); 23 unsigned long SWFInput_getUInt32_BE(SWFInput input); 24 void SWFInput_byteAlign(SWFInput input); 25 int SWFInput_readBits(SWFInput input, int number); 26 int SWFInput_readSBits(SWFInput input, int number); 27 28 #endif /* SWF_INPUT_H_INCLUDED */ 29