service.h revision a34ceba66fc0e856d8f76f340389a4768b57a365
2N/A along with systemd; If not, see <http://www.gnu.org/licenses/>.
2N/A#include "ratelimit.h"
2N/A#include "exit-status.h"
2N/Atypedef enum ServiceRestart {
2N/Atypedef enum ServiceType {
2N/A SERVICE_ONESHOT, /* we fork and wait until the program finishes (i.e. programs like fsck which run and need to finish before we continue) */
2N/A SERVICE_NOTIFY, /* we fork and wait until a daemon sends us a ready message with sd_notify() */
2N/Atypedef enum ServiceExecCommand {
2N/Atypedef enum NotifyAccess {
2N/Atypedef enum NotifyState {
2N/Atypedef enum ServiceResult {
2N/Astruct ServiceFDStore {
2N/A int bus_endpoint_fd;
2N/A bool permissions_start_only;
2N/A bool remain_after_exit;
2N/A bool guess_main_pid;
2N/A char *status_text;
2N/A int status_errno;
2N/A char *reboot_arg;
2N/A unsigned n_fd_store;
2N/A unsigned n_fd_store_max;
2N/A char *usb_function_descriptors;
2N/A char *usb_function_strings;