Fix for segfault in top_name stuff.
[monky] / src / sony.h
1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
2  *
3  * Conky, a system monitor, based on torsmo
4  *
5  * Please see COPYING for details
6  *
7  * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
8  * Copyright (c) 2009 Yeon-Hyeong Yang <lbird94@gmail.com>
9  *      (see AUTHORS)
10  * All rights reserved.
11  *
12  * This program is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  * You should have received a copy of the GNU General Public License
22  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23  *
24  */
25 /* conky support for information from sony_laptop kernel module
26  *   information from sony_laptop kernel module
27  *   /sys/devices/platform/sony-laptop
28  *   I mimicked the methods from ibm.c
29  * Yeon-Hyeong Yang <lbird94@gmail.com> */
30
31 #ifndef _SONY_H
32 #define _SONY_H
33
34 #include <sys/types.h>
35
36 void get_sony_fanspeed(char *buf, size_t client_buffer_size);
37
38 #endif /* _SONY_H */