klipper/src/sos_filter.h
Kevin O'Connor 40242b2e33 sos_filter: Propagate overflow errors instead of a shutdown
Pass an overflow error back to the caller instead of invoking a
shutdown().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2026-01-25 12:49:01 -05:00

10 lines
228 B
C

#ifndef __SOS_FILTER_H
#define __SOS_FILTER_H
#include <stdint.h>
struct sos_filter;
int sos_filter_apply(struct sos_filter *sf, int32_t *pvalue);
struct sos_filter *sos_filter_oid_lookup(uint8_t oid);
#endif // sos_filter.h