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
13typedef struct {
14 void *handle;
15 const SensorPlugin *plugin;
17
26int sensor_module_load(const char *path, SensorModule *out);
27
29void sensor_module_unload(SensorModule *module);
30
31#endif
A dynamically loaded sensor plugin and its OS-level handle.
Runtime contract every sensor plugin (.so/.dylib/.dll) must implement.
Definition sensor.h:35