+
+task_t proc_task(proc_t);
+extern int proc_pidversion(proc_t);
+extern int proc_getcdhash(proc_t, unsigned char *);
+
+/*!
+ @function proc_pidbackgrounded
+ @abstract KPI to determine if a process is currently backgrounded.
+ @discussion The process may move into or out of background state at any time,
+ so be prepared for this value to be outdated immediately.
+ @param pid PID of the process to be queried.
+ @param state Pointer to a value which will be set to 1 if the process
+ is currently backgrounded, 0 otherwise.
+ @return ESRCH if pid cannot be found or has started exiting.
+
+ EINVAL if state is NULL.
+ */
+extern int proc_pidbackgrounded(pid_t pid, uint32_t* state);
+
+/*
+ * This returns an unique 64bit id of a given process.
+ * Caller needs to hold proper reference on the
+ * passed in process strucutre.
+ */
+extern uint64_t proc_uniqueid(proc_t);
+
+#endif /* KERNEL_PRIVATE */
+
+#ifdef XNU_KERNEL_PRIVATE
+
+/* unique 64bit id for process's original parent */
+extern uint64_t proc_puniqueid(proc_t);
+
+extern void proc_getexecutableuuid(proc_t, unsigned char *, unsigned long);
+
+extern uint64_t proc_was_throttled(proc_t);
+extern uint64_t proc_did_throttle(proc_t);
+
+#endif /* XNU_KERNEL_PRIVATE*/