Air Quality Monitor
Portable C application for collecting, storing, and analyzing air quality sensor readings
Loading...
Searching...
No Matches
sensor_loader.h
1
#ifndef SENSOR_LOADER_H
2
#define SENSOR_LOADER_H
3
4
#include "sensor/sensor.h"
5
13
typedef
struct
{
14
void
*handle;
15
const
SensorPlugin
*plugin;
16
}
SensorModule
;
17
26
int
sensor_module_load(
const
char
*path,
SensorModule
*out);
27
29
void
sensor_module_unload(
SensorModule
*module);
30
31
#endif
SensorModule
A dynamically loaded sensor plugin and its OS-level handle.
Definition
sensor_loader.h:13
SensorPlugin
Runtime contract every sensor plugin (.so/.dylib/.dll) must implement.
Definition
sensor.h:35
include
sensor
sensor_loader.h
Generated by
1.9.8