-/* Get state from uid. Possible states: offline, lingering, online, active */
+/* Get machine name from PID, for processes assigned to VM or
+ * container. This will return an error for non-machine processes. */
+int sd_pid_get_machine_name(pid_t pid, char **name);
+
+/* Get slice name from PID. */
+int sd_pid_get_slice(pid_t pid, char **name);
+
+/* Get state from uid. Possible states: offline, lingering, online, active, closing */