mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
54630eb39e
hopefully, this doesn't break anything
27 lines
851 B
C
27 lines
851 B
C
/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
|
|
|
|
#ifndef OPENBSD_H_
|
|
#define OPENBSD_H_
|
|
|
|
#include "common.h"
|
|
#include <sys/param.h>
|
|
#include <sys/sysctl.h>
|
|
#include <sys/sensors.h>
|
|
#include <machine/apmvar.h>
|
|
|
|
void parse_obsd_sensor(struct text_object *, const char *);
|
|
void print_obsd_sensors_temp(struct text_object *, char *, int);
|
|
void print_obsd_sensors_fan(struct text_object *, char *, int);
|
|
void print_obsd_sensors_volt(struct text_object *, char *, int);
|
|
void get_obsd_vendor(struct text_object *, char *buf, size_t client_buffer_size);
|
|
void get_obsd_product(struct text_object *, char *buf, size_t client_buffer_size);
|
|
|
|
#if defined(i386) || defined(__i386__)
|
|
typedef struct apm_power_info *apm_info_t;
|
|
#endif
|
|
|
|
int get_entropy_avail(unsigned int *);
|
|
int get_entropy_poolsize(unsigned int *);
|
|
|
|
#endif /*OPENBSD_H_*/
|