summaryrefslogtreecommitdiff
path: root/include/base_state.h
blob: 6ee0948e5fa05fd978103c700d4fbe7211881d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/**
 * Return 1 if base attached, 0 otherwise.
 */
int base_get_state(void);

/**
 * Sets the current state of the base, with 0 meaning detached,
 * and non-zero meaning attached.
 */
void base_set_state(int state);