Files

21 lines
299 B
C
Raw Permalink Normal View History

2026-08-13 11:28:40 +08:00
#ifndef _DS_UTILS_H_
#define _DS_UTILS_H_
#include <stddef.h>
#include <stdint.h>
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif
int d2s(char *s, int ls, uint8_t *buf, size_t size);
int ds_get_timespec_timeout(int timeout_ms, struct timespec *ts);
#ifdef __cplusplus
}
#endif
#endif