root/include/fileutil.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef FILEUTIL_H
   2 #define FILEUTIL_H
   3 
   4 //-------------------------------------------------------------------
   5 
   6 // fileutil.c functions
   7 
   8 typedef int (*callback_process_file)(char* buf, int size);
   9 
  10 extern int process_file(const char *filename, callback_process_file callback, int add0);
  11 extern char* load_file_to_length(const char* name, int* size, int add0, int length);
  12 extern char* load_file(const char* name, int* size, int add0);
  13 
  14 extern int load_int_value_file(const char* filename, int* value_p);
  15 extern void save_int_value_file(const char* filename, int value);
  16 
  17 //-------------------------------------------------------------------
  18 
  19 #endif

/* [<][>][^][v][top][bottom][index][help] */