2 #------------------------------------------------------------------------------
3 # $File: gnome,v 1.5 2014/04/30 21:41:02 christos Exp $
6 # Contributed by Josh Triplett
7 # FIXME: Could be simplified if pstring supported two-byte counts
8 0 string GnomeKeyring\n\r\0\n GNOME keyring
9 >&0 ubyte 0 \b, major version 0
10 >>&0 ubyte 0 \b, minor version 0
11 >>>&0 ubyte 0 \b, crypto type 0 (AES)
12 >>>&0 ubyte >0 \b, crypto type %u (unknown)
13 >>>&1 ubyte 0 \b, hash type 0 (MD5)
14 >>>&1 ubyte >0 \b, hash type %u (unknown)
15 >>>&2 ubelong 0xFFFFFFFF \b, name NULL
16 >>>&2 ubelong !0xFFFFFFFF
17 >>>>&-4 ubelong >255 \b, name too long for file's pstring type
19 >>>>>&-1 pstring x \b, name "%s"
20 >>>>>>&0 ubeqdate x \b, last modified %s
21 >>>>>>&8 ubeqdate x \b, created %s
23 >>>>>>>&0 ubelong x \b, locked if idle for %u seconds
24 >>>>>>&16 ubelong ^1 \b, not locked if idle
25 >>>>>>&24 ubelong x \b, hash iterations %u
26 >>>>>>&28 ubequad x \b, salt %llu
27 >>>>>>&52 ubelong x \b, %u item(s)
29 # From: Alex Beregszaszi <alex@fsn.hu>
30 4 string gtktalog GNOME Catalogue (gtktalog)
31 >13 string >\0 version %s
33 # Summary: GStreamer binary registry
35 # Submitted by: Josh Triplett <josh@joshtriplett.org>
36 0 belong 0xc0def00d GStreamer binary registry
37 >4 string x \b, version %s
39 # GVariant Database file
40 # By Elan Ruusamae <glen@delfi.ee>
41 # https://github.com/GNOME/gvdb/blob/master/gvdb-format.h
42 # It's always "GVariant", it's byte swapped on incompatible archs
43 # See https://github.com/GNOME/gvdb/blob/master/gvdb-builder.c
44 # file_builder_serialise()
45 # http://developer.gnome.org/glib/2.34/glib-GVariant.html#GVariant
46 0 string GVariant GVariant Database file,
47 # version is never filled. probably future extension
48 >8 lelong x version %d
49 # not sure are these usable, so commented out
50 #>>16 lelong x start %d,
51 #>>>20 lelong x end %d
53 # G-IR database made by gobject-introspect toolset,
54 # http://live.gnome.org/GObjectIntrospection
55 0 string GOBJ\nMETADATA\r\n\032 G-IR binary database
58 >20 leshort x \b, %d entries
59 >22 leshort x \b/%d local