projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated warnings about static functions declared with G_GNUC_INTERNAL
[projects/chimara/chimara.git]
/
src
/
fileref.h
diff --git
a/src/fileref.h
b/src/fileref.h
index fb52ee53245e331e3df51e706ecc989458c61a4d..cfbdcca034b46396c9eb3bd119548a0c9ed8464f 100644
(file)
--- a/
src/fileref.h
+++ b/
src/fileref.h
@@
-4,15
+4,24
@@
#include <gtk/gtk.h>
#include "glk.h"
#include <gtk/gtk.h>
#include "glk.h"
+/**
+ * glk_fileref_struct:
+ *
+ * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
+ * Opaque Structures</link> and should not be accessed directly.
+ */
struct glk_fileref_struct
{
struct glk_fileref_struct
{
- glui32 rock;
+ /*< private >*/
+ glui32 magic, rock;
/* Pointer to the list node in the global fileref list that contains this
fileref */
GList* fileref_list;
/* Fileref parameters */
/* Pointer to the list node in the global fileref list that contains this
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;
};
glui32 usage;
};