# E:/DevIL/src-IL/include/il_bits.h File Reference

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | BITFILE

## Defines

#define | SetBits(var, bits) (var |= bits)
#define | ClearBits(var, bits) (var &= ~(bits))

## Functions

ILint | bclose (BITFILE *BitFile)
BITFILE * | bfile (ILHANDLE File)
ILint | btell (BITFILE *BitFile)
ILint | bseek (BITFILE *BitFile, ILuint Offset, ILuint Mode)
ILint | bread (void *Buffer, ILuint Size, ILuint Number, BITFILE *BitFile)

## Define Documentation

#define ClearBits | ( | var,
|  | bits |  | ) | (var &= ~(bits))

Referenced by iLoadCutInternal(), and iUncompressTgaData().

#define SetBits | ( | var,
|  | bits |  | ) | (var |= bits)

## Function Documentation

ILint bclose | ( | BITFILE * | BitFile | ) |

Referenced by iLoadWbmpInternal().

BITFILE* bfile | ( | ILHANDLE | File | ) |

Referenced by iLoadSunInternal(), and iLoadWbmpInternal().

ILint bread | ( | void * | Buffer,
|  | ILuint | Size,
|  | ILuint | Number,
|  | BITFILE * | BitFile |
| ) |  |  |

Referenced by iLoadSunInternal(), and iLoadWbmpInternal().

ILint bseek | ( | BITFILE * | BitFile,
|  | ILuint | Offset,
|  | ILuint | Mode |
| ) |  |  |

ILint btell | ( | BITFILE * | BitFile | ) |