summaryrefstree
path: root/kernel/drivers/gud/TlcTui/tlcTui.h
blob: 82e1dc82946abfb30f3bf3a24b6c6b8c09c5d0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2013-2014 TRUSTONIC LIMITED
 * All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

#ifndef TLCTUI_H_
#define TLCTUI_H_

#include "tui_ioctl.h"

void reset_global_command_id(void);
int tlc_wait_cmd(uint32_t *cmd_id);
int tlc_ack_cmd(struct tlc_tui_response_t *rsp_id);
bool tlc_notify_event(uint32_t event_type);

extern atomic_t fileopened;
#endif /* TLCTUI_H_ */