aboutsummaryrefslogtreecommitdiff
path: root/Remote/External
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-31 13:50:18 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-31 13:50:18 -0400
commitdda8d46bf3ef2de301f338b39c2faf08b3bbeba2 (patch)
treeed9f9bdac2ce6f484f5c933836344f31c028b5f5 /Remote/External
parent68c7dbe53ee37ab391e9132da781ff479faf5aae (diff)
external special remote protocol: Added GETUUID.
Diffstat (limited to 'Remote/External')
-rw-r--r--Remote/External/Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Remote/External/Types.hs b/Remote/External/Types.hs
index 0525cdfee..40bd8d52e 100644
--- a/Remote/External/Types.hs
+++ b/Remote/External/Types.hs
@@ -166,6 +166,7 @@ data RemoteRequest
| GETCONFIG Setting
| SETCREDS Setting String String
| GETCREDS Setting
+ | GETUUID
deriving (Show)
instance Receivable RemoteRequest where
@@ -176,6 +177,7 @@ instance Receivable RemoteRequest where
parseCommand "GETCONFIG" = parse1 GETCONFIG
parseCommand "SETCREDS" = parse3 SETCREDS
parseCommand "GETCREDS" = parse1 GETCREDS
+ parseCommand "GETUUID" = parse0 GETUUID
parseCommand _ = parseFail
-- Responses to RemoteRequest.