All of the fileref functions are now implemented:
[projects/chimara/chimara.git] / src / fileref.h
index fb52ee53245e331e3df51e706ecc989458c61a4d..6dcefeddf693d6ac11ba6e60e1c0803c3309ad15 100644 (file)
@@ -11,8 +11,10 @@ struct glk_fileref_struct
        fileref */
        GList* fileref_list;
        /* Fileref parameters */
-       gchar *filename;
-       glui32 filemode;
+       gchar *filename; /* Always stored in the default filename encoding, not
+               UTF8 or Latin-1 */
+       glui32 orig_filemode; /* Used to check if the user gets a fileref in read
+               mode and then tries to open it in write mode */
        glui32 usage;
 };