gnome 2.4 KB

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