1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-18 05:03:58 +02:00
gluon-packages/net/respondd-module-airtime/src/airtime.h
Matthias Schiffer 8dbd089cc0 respondd-module-airtime: improve error handling
- Return either NL_OK or NL_STOP from callback
- Return the generated airtime entry from get_airtime()

(cherry picked from commit 1dd5cd1706)
2021-10-25 00:12:52 +02:00

9 lines
162 B
C

#pragma once
#include <stdbool.h>
#include <stdint.h>
#include <json-c/json.h>
__attribute__((visibility("hidden")))
struct json_object * get_airtime(int ifx);