blob: 09d599fef0844a001d8c159471b1253d233b8a36 [file] [log] [blame]
/*
* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef MAIN_H
#define MAIN_H
#define FRECON_RUN_DIR "/run/frecon"
#define FRECON_PID_FILE FRECON_RUN_DIR "/pid"
#define FRECON_HI_RES_FILE FRECON_RUN_DIR "/hi_res"
int main_process_events(uint32_t usec);
bool set_drm_master_relax(void);
typedef struct {
bool daemon;
bool enable_vts;
bool enable_vt1;
bool splash_only;
bool enable_osc;
bool no_login;
bool pre_create_vts;
bool wait_drop_master;
} commandflags_t;
extern commandflags_t command_flags;
#endif