/ src / common / hexfile.h
hexfile.h
 1  /*
 2   * hexfile.h
 3   *
 4   * Copyright (C) 1999 Jonathan St-André
 5   * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
 6   *
 7   * This file is released under the GPLv2
 8   */
 9  
10  #ifndef HEXFILE_H
11  #define HEXFILE_H 1
12  
13  int
14  asciihex2int_get_error(void);
15  
16  void
17  int2asciihex(int val, char *str, int width);
18  
19  unsigned int
20  asciihex2int(char *str);
21  
22  int
23  hexfile_load(const char *filename);
24  
25  #endif /* HEXFILE_H */