mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 11:05:18 +00:00
610b0b628d
In order to do this correctly: Removed duplicate includes Fixed mpd functions to accept mpd_s instead of information Freed mpd.h of any need to include conky.h (mpd.c still includes it for the constants) git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1154 7f574dfc-610e-0410-a909-a81674777703
42 lines
905 B
C
42 lines
905 B
C
#ifndef LINUX_H_
|
|
#define LINUX_H_
|
|
|
|
#include "common.h"
|
|
|
|
void get_ibm_acpi_fan(char *buf, size_t client_buffer_size);
|
|
void get_ibm_acpi_temps(void);
|
|
void get_ibm_acpi_volume(char *buf, size_t client_buffer_size);
|
|
void get_ibm_acpi_brightness(char *buf, size_t client_buffer_size);
|
|
const char *get_disk_protect_queue(const char *);
|
|
|
|
struct i8k_struct {
|
|
char *version;
|
|
char *bios;
|
|
char *serial;
|
|
char *cpu_temp;
|
|
char *left_fan_status;
|
|
char *right_fan_status;
|
|
char *left_fan_rpm;
|
|
char *right_fan_rpm;
|
|
char *ac_status;
|
|
char *buttons_status;
|
|
};
|
|
|
|
struct i8k_struct i8k;
|
|
|
|
struct ibm_acpi_struct {
|
|
int temps[8];
|
|
};
|
|
|
|
struct ibm_acpi_struct ibm_acpi;
|
|
|
|
int interface_up(const char *dev);
|
|
char *get_ioscheduler(char *);
|
|
int get_laptop_mode(void);
|
|
void update_gateway_info(void);
|
|
|
|
enum { PB_BATT_STATUS, PB_BATT_PERCENT, PB_BATT_TIME };
|
|
void get_powerbook_batt_info(char *, size_t, int);
|
|
|
|
#endif /*LINUX_H_*/
|