Require socket to be passed by systemd, don't create it on our own
[platform/core/security/security-manager.git] / src / server / main / include / generic-socket-manager.h
index 5234871..ef7c0c6 100644 (file)
@@ -59,17 +59,20 @@ struct GenericSocketService {
         ServiceDescription(const char *path,
             const char *smackLabel,
             InterfaceID interfaceID = 0,
-            bool useSendMsg = false)
+            bool useSendMsg = false,
+            bool systemdOnly = false)
           : smackLabel(smackLabel)
           , interfaceID(interfaceID)
           , serviceHandlerPath(path)
           , useSendMsg(useSendMsg)
+          , systemdOnly(systemdOnly)
         {}
 
         SmackLabel smackLabel;                 // Smack label for socket
         InterfaceID interfaceID;               // All data from serviceHandlerPath will be marked with this interfaceHandler
         ServiceHandlerPath serviceHandlerPath; // Path to file
         bool useSendMsg;
+        bool systemdOnly;
     };
 
     typedef std::vector<ServiceDescription> ServiceDescriptionVector;