ES-2024 reverter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
284B

  1. #ifndef _FILEDATA_H_
  2. #define _FILEDATA_H_
  3. struct filedata {
  4. int size;
  5. void *data[0];
  6. };
  7. struct filedata * get_filedata(const char *filename);
  8. struct filedata * alloc_filedata(int size);
  9. int put_filedata(const char *filename, struct filedata *filedata);
  10. #endif /* _FILEDATA_H_ */