X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=blobdiff_plain;f=libchimara%2Ffileref.h;h=03ab4fe94fcd99c5cc98f8eb7ba1da9c0af3aca7;hp=c2d8f4666b2124e94f860804a8f96dac3e39a982;hb=c4bbce6db0f0661105d88c1ccc046a755f6b8d80;hpb=c9c4577dd8b78fb65d5475e1c40836d22dfd80c3 diff --git a/libchimara/fileref.h b/libchimara/fileref.h index c2d8f46..03ab4fe 100644 --- a/libchimara/fileref.h +++ b/libchimara/fileref.h @@ -22,10 +22,11 @@ struct glk_fileref_struct /* Fileref parameters */ gchar *filename; /* Always stored in the default filename encoding, not UTF8 or Latin-1 */ + char *basename; /* Name from which real filename was derived */ 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; }; -G_GNUC_INTERNAL frefid_t fileref_new(gchar *filename, glui32 rock, glui32 usage, glui32 orig_filemode); +G_GNUC_INTERNAL frefid_t fileref_new(char *filename, char *basename, glui32 rock, glui32 usage, glui32 orig_filemode); #endif