blob: c7fad2b138514add02fd78c8b22be1da24fccf6a [file] [log] [blame]
Dominik Behr44e07e62016-01-13 19:43:57 -08001/*
2 * Copyright (c) 2016 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7#ifndef MAIN_H
8#define MAIN_H
9
Mike Frysinger596c97a2016-10-05 19:27:04 -040010#define FRECON_RUN_DIR "/run/frecon"
Dominik Behrda6df412016-08-02 12:56:42 -070011#define FRECON_PID_FILE FRECON_RUN_DIR "/pid"
12
Dominik Behr44e07e62016-01-13 19:43:57 -080013int main_process_events(uint32_t usec);
Dominik Behr83864df2016-04-21 12:35:08 -070014bool set_drm_master_relax(void);
Dominik Behr44e07e62016-01-13 19:43:57 -080015
Dominik Behr46c567f2016-03-08 15:11:48 -080016typedef struct {
17 bool daemon;
18 bool enable_vts;
Dominik Behr0bb51772016-07-26 18:04:53 -070019 bool enable_vt1;
Dominik Behrfd9fdda2016-03-28 17:16:45 -070020 bool splash_only;
Dominik Behrda55e6c2017-02-28 18:12:10 -080021 bool enable_osc;
Dominik Behr222936d2016-05-05 13:50:50 -070022 bool no_login;
Dominik Behrda6df412016-08-02 12:56:42 -070023 bool pre_create_vts;
Dominik Behr46c567f2016-03-08 15:11:48 -080024} commandflags_t;
25
26extern commandflags_t command_flags;
27
Dominik Behr44e07e62016-01-13 19:43:57 -080028#endif