18 lines
452 B
C
18 lines
452 B
C
#ifndef SLEEP_WRITER_H
|
|||
|
|
#define SLEEP_WRITER_H
|
||
|
|
#include <stddef.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
#include "sleep.h"
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
int sleep_write_feed(const char *feed_dir,
|
||
|
|
const char *feed_name,
|
||
|
|
const uint8_t *const *blocks,
|
||
|
|
const size_t *lengths,
|
||
|
|
size_t nblocks,
|
||
|
|
const sleep_keypair_t *keypair);
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
#endif
|