2009-07-28 21:44:22 +00:00
|
|
|
/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
|
|
|
|
|
2008-06-14 18:41:12 +00:00
|
|
|
#ifndef OPENBSD_H_
|
|
|
|
#define OPENBSD_H_
|
|
|
|
|
|
|
|
#include "common.h"
|
2009-06-03 06:16:23 +00:00
|
|
|
#include <sys/param.h>
|
2008-06-14 18:41:12 +00:00
|
|
|
#include <sys/sysctl.h>
|
|
|
|
#include <sys/sensors.h>
|
|
|
|
#include <machine/apmvar.h>
|
|
|
|
|
2009-10-09 01:55:46 +00:00
|
|
|
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);
|
2009-11-16 00:41:53 +00:00
|
|
|
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);
|
2008-06-14 18:41:12 +00:00
|
|
|
|
|
|
|
#if defined(i386) || defined(__i386__)
|
|
|
|
typedef struct apm_power_info *apm_info_t;
|
|
|
|
#endif
|
|
|
|
|
2009-11-12 22:50:17 +00:00
|
|
|
int get_entropy_avail(unsigned int *);
|
|
|
|
int get_entropy_poolsize(unsigned int *);
|
|
|
|
|
2008-06-14 18:41:12 +00:00
|
|
|
#endif /*OPENBSD_H_*/
|