# E:/DevIL/src-IL/src/il_register.c File Reference

`#include "il_internal.h"`
`#include "il_register.h"`
`#include <string.h>`

## Functions

ILboolean ILAPIENTRY | ilRegisterLoad (ILconst_string Ext, IL_LOADPROC Load)
ILboolean ILAPIENTRY | ilRegisterSave (ILconst_string Ext, IL_SAVEPROC Save)
ILboolean ILAPIENTRY | ilRemoveLoad (ILconst_string Ext)
| Unregisters a load extension - doesn't have to be called.
ILboolean ILAPIENTRY | ilRemoveSave (ILconst_string Ext)
| Unregisters a save extension - doesn't have to be called.
void | ilRemoveRegistered ()
ILboolean | iRegisterLoad (ILconst_string FileName)
ILboolean | iRegisterSave (ILconst_string FileName)
void ILAPIENTRY | ilRegisterOrigin (ILenum Origin)
void ILAPIENTRY | ilRegisterFormat (ILenum Format)
ILboolean ILAPIENTRY | ilRegisterNumFaces (ILuint Num)
ILboolean ILAPIENTRY | ilRegisterMipNum (ILuint Num)
ILboolean ILAPIENTRY | ilRegisterNumImages (ILuint Num)
void ILAPIENTRY | ilRegisterType (ILenum Type)
void ILAPIENTRY | ilRegisterPal (void *Pal, ILuint Size, ILenum Type)
ILboolean ILAPIENTRY | ilSetDuration (ILuint Duration)

## Variables

iFormatL * | LoadProcs = NULL
iFormatS * | SaveProcs = NULL

## Function Documentation

void ILAPIENTRY ilRegisterFormat | ( | ILenum | Format | ) |

ILboolean ILAPIENTRY ilRegisterLoad | ( | ILconst_string | Ext,
|  | IL_LOADPROC | Load |
| ) |  |  |

ILboolean ILAPIENTRY ilRegisterMipNum | ( | ILuint | Num | ) |

ILboolean ILAPIENTRY ilRegisterNumFaces | ( | ILuint | Num | ) |

ILboolean ILAPIENTRY ilRegisterNumImages | ( | ILuint | Num | ) |

void ILAPIENTRY ilRegisterOrigin | ( | ILenum | Origin | ) |

void ILAPIENTRY ilRegisterPal | ( | void * | Pal,
|  | ILuint | Size,
|  | ILenum | Type |
| ) |  |  |

ILboolean ILAPIENTRY ilRegisterSave | ( | ILconst_string | Ext,
|  | IL_SAVEPROC | Save |
| ) |  |  |

void ILAPIENTRY ilRegisterType | ( | ILenum | Type | ) |

ILboolean ILAPIENTRY ilRemoveLoad | ( | ILconst_string | Ext | ) |

Unregisters a load extension - doesn't have to be called.

void ilRemoveRegistered | ( | void |  | ) |

Referenced by ilInit().

ILboolean ILAPIENTRY ilRemoveSave | ( | ILconst_string | Ext | ) |

Unregisters a save extension - doesn't have to be called.

ILboolean ILAPIENTRY ilSetDuration | ( | ILuint | Duration | ) |

ILboolean iRegisterLoad | ( | ILconst_string | FileName | ) |

Referenced by ilLoadImage().

ILboolean iRegisterSave | ( | ILconst_string | FileName | ) |

Referenced by ilSaveImage().

## Variable Documentation

iFormatL* LoadProcs = NULL

iFormatS* SaveProcs = NULL