Update copyright dates
[src/app-framework-binder.git] / src / afs-supervision.h
index d33b04d..24aef32 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * anyone to create a such socket and usurpate the
  * supervisor.
  */
-#if !defined(AFS_SURPERVISION_SOCKET)
-#  define AFS_SURPERVISION_SOCKET "@urn:AGL:afs:supervision:socket" /* abstract */
+#if !defined(AFS_SUPERVISION_SOCKET)
+#  define AFS_SUPERVISION_SOCKET "@urn:AGL:afs:supervision:socket" /* abstract */
 #endif
 
 /*
  * generated using
  * uuid -v 5 ns:URL urn:AGL:afs:supervision:interface:1
  */
-#define AFS_SURPERVISION_INTERFACE_1 "86040e8d-eee5-5900-a129-3edb8da3ed46"
+#define AFS_SUPERVISION_INTERFACE_1 "86040e8d-eee5-5900-a129-3edb8da3ed46"
 
 
 /**
- * packet initialy sent by monitor at start
+ * packet initially sent by monitor at start
  */
 struct afs_supervision_initiator
 {
@@ -45,4 +45,5 @@ struct afs_supervision_initiator
        char extra[27];         /**< zero terminated extra computed here to be 64-37 */
 };
 
-#define AFS_SURPERVISION_APINAME "$"
+#define AFS_SUPERVISION_APINAME      "."
+#define AFS_SUPERVISOR_APINAME       "supervisor"