summaryrefslogtreecommitdiffstats
path: root/common/commands.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-03-27 16:45:48 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-03-31 11:11:08 +0200
commit7642433a4fafd2ccf7e8b43c81ec18282f544a3b (patch)
tree067d1faa86061eabe24444e59118e9c1567848ba /common/commands.h
parentc9aeb8896ae578515c217b9a08988156b4d62f1e (diff)
downloadsink-7642433a4fafd2ccf7e8b43c81ec18282f544a3b.tar.gz
sink-7642433a4fafd2ccf7e8b43c81ec18282f544a3b.zip
Shutdown notification to achieve a clean shutdown.
Otherwise the client always restarts the resource because of the lost connection. We currently require this in tests to be able to delete the db, but eventually we likely want a "disable akonadi" function that shuts resources down, and keeps clients from restarting them (e.g. via configuration).
Diffstat (limited to 'common/commands.h')
-rw-r--r--common/commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/commands.h b/common/commands.h
index 26729dc..0007ffc 100644
--- a/common/commands.h
+++ b/common/commands.h
@@ -43,6 +43,7 @@ enum CommandIds {
43 CreateEntityCommand, 43 CreateEntityCommand,
44 SearchSourceCommand, // need a buffer definition for this, but relies on Query API 44 SearchSourceCommand, // need a buffer definition for this, but relies on Query API
45 ShutdownCommand, 45 ShutdownCommand,
46 NotificationCommand,
46 CustomCommand = 0xffff 47 CustomCommand = 0xffff
47}; 48};
48 49