1284194Sdelphij
2284194Sdelphij#------------------------------------------------------------------------------
3284194Sdelphij# $File: gnome,v 1.5 2014/04/30 21:41:02 christos Exp $
4284194Sdelphij# GNOME related files
5284194Sdelphij
6284194Sdelphij# Contributed by Josh Triplett
7284194Sdelphij# FIXME: Could be simplified if pstring supported two-byte counts
8284194Sdelphij0         string   GnomeKeyring\n\r\0\n GNOME keyring
9284194Sdelphij>&0       ubyte    0                    \b, major version 0
10284194Sdelphij>>&0      ubyte    0                    \b, minor version 0
11284194Sdelphij>>>&0     ubyte    0                    \b, crypto type 0 (AES)
12284194Sdelphij>>>&0     ubyte    >0                   \b, crypto type %u (unknown)
13284194Sdelphij>>>&1     ubyte    0                    \b, hash type 0 (MD5)
14284194Sdelphij>>>&1     ubyte    >0                   \b, hash type %u (unknown)
15284194Sdelphij>>>&2     ubelong  0xFFFFFFFF           \b, name NULL
16284194Sdelphij>>>&2     ubelong  !0xFFFFFFFF
17284194Sdelphij>>>>&-4   ubelong  >255                 \b, name too long for file's pstring type
18284194Sdelphij>>>>&-4   ubelong  <256
19284194Sdelphij>>>>>&-1  pstring  x                    \b, name "%s"
20284194Sdelphij>>>>>>&0  ubeqdate x                    \b, last modified %s
21284194Sdelphij>>>>>>&8  ubeqdate x                    \b, created %s
22284194Sdelphij>>>>>>&16 ubelong  &1
23284194Sdelphij>>>>>>>&0 ubelong  x                    \b, locked if idle for %u seconds
24284194Sdelphij>>>>>>&16 ubelong  ^1                   \b, not locked if idle
25284194Sdelphij>>>>>>&24 ubelong  x                    \b, hash iterations %u
26284194Sdelphij>>>>>>&28 ubequad  x                    \b, salt %llu
27284194Sdelphij>>>>>>&52 ubelong  x                    \b, %u item(s)
28284194Sdelphij
29284194Sdelphij# From: Alex Beregszaszi <alex@fsn.hu>
30284194Sdelphij4	string	gtktalog		GNOME Catalogue (gtktalog)
31284194Sdelphij>13	string	>\0			version %s
32284194Sdelphij
33284194Sdelphij# Summary: GStreamer binary registry
34284194Sdelphij# Extension: .bin
35284194Sdelphij# Submitted by: Josh Triplett <josh@joshtriplett.org>
36284194Sdelphij0	belong	0xc0def00d		GStreamer binary registry
37284194Sdelphij>4	string	x			\b, version %s
38284194Sdelphij
39284194Sdelphij# GVariant Database file
40284194Sdelphij# By Elan Ruusamae <glen@delfi.ee>
41284194Sdelphij# https://github.com/GNOME/gvdb/blob/master/gvdb-format.h
42284194Sdelphij# It's always "GVariant", it's byte swapped on incompatible archs
43284194Sdelphij# See https://github.com/GNOME/gvdb/blob/master/gvdb-builder.c
44284194Sdelphij# file_builder_serialise()
45284194Sdelphij# http://developer.gnome.org/glib/2.34/glib-GVariant.html#GVariant
46284194Sdelphij0	string	GVariant	GVariant Database file,
47284194Sdelphij# version is never filled. probably future extension
48284194Sdelphij>8	lelong	x		version %d
49284194Sdelphij# not sure are these usable, so commented out
50284194Sdelphij#>>16	lelong	x		start %d,
51284194Sdelphij#>>>20	lelong	x		end %d
52284194Sdelphij
53284194Sdelphij# G-IR database made by gobject-introspect toolset,
54284194Sdelphij# http://live.gnome.org/GObjectIntrospection
55284194Sdelphij0	string		GOBJ\nMETADATA\r\n\032	G-IR binary database
56284194Sdelphij>16	byte		x			\b, v%d
57284194Sdelphij>17	byte		x			\b.%d
58284194Sdelphij>20	leshort		x			\b, %d entries
59284194Sdelphij>22	leshort		x			\b/%d local
60