diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-20 21:32:45 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-23 16:29:47 +0200 |
commit | bb7cc90200c7eccce9a6b6622b191548b5e26586 (patch) | |
tree | a6e091badd397862212565f0efbe418bb3fb5084 /common | |
parent | 192d3a7db50e42ad40aea8311e1994f53a1efdc0 (diff) | |
download | gvfs-bb7cc90200c7eccce9a6b6622b191548b5e26586.tar.gz |
Add gvfsd-metadata update daemon
This daemon singleton handles updates to metadata stores.
All clients that wishes to write metadata should talk to
it via dbus.
This way all writes are serialized to avoid data loss on
concurrent writes.
Diffstat (limited to 'common')
-rw-r--r-- | common/gvfsdaemonprotocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h index ce8b11ea..9dc61eb5 100644 --- a/common/gvfsdaemonprotocol.h +++ b/common/gvfsdaemonprotocol.h @@ -94,6 +94,14 @@ G_BEGIN_DECLS #define G_VFS_DBUS_MONITOR_CLIENT_INTERFACE "org.gtk.vfs.MonitorClient" #define G_VFS_DBUS_MONITOR_CLIENT_OP_CHANGED "Changed" +/* The well known name of the metadata daemon */ +#define G_VFS_DBUS_METADATA_NAME "org.gtk.vfs.Metadata" +#define G_VFS_DBUS_METADATA_PATH "/org/gtk/vfs/metadata" +#define G_VFS_DBUS_METADATA_INTERFACE "org.gtk.vfs.Metadata" +#define G_VFS_DBUS_METADATA_OP_SET "Set" +#define G_VFS_DBUS_METADATA_OP_UNSET "Unset" +#define G_VFS_DBUS_METADATA_OP_REMOVE "Remove" +#define G_VFS_DBUS_METADATA_OP_MOVE "Move" /* Mounts time out in 10 minutes, since they can be slow, with auth, etc */ #define G_VFS_DBUS_MOUNT_TIMEOUT_MSECS (1000*60*10) |