11 * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
12 * Opaque Structures</link> and should not be accessed directly.
14 struct glk_fileref_struct
18 gidispatch_rock_t disprock;
19 /* Pointer to the list node in the global fileref list that contains this
22 /* Fileref parameters */
23 gchar *filename; /* Always stored in the default filename encoding, not
25 char *basename; /* Name from which real filename was derived */
26 glui32 orig_filemode; /* Used to check if the user gets a fileref in read
27 mode and then tries to open it in write mode */
31 G_GNUC_INTERNAL frefid_t fileref_new(char *filename, char *basename, glui32 rock, glui32 usage, glui32 orig_filemode);