2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-16 13:46:42 +08:00
artiq/artiq/runtime/ksupport.h

20 lines
473 B
C
Raw Normal View History

#ifndef __KSTARTUP_H
#define __KSTARTUP_H
struct artiq_list {
int32_t length;
int32_t *elements;
};
long long int now_init(void);
void now_save(long long int now);
int watchdog_set(int ms);
void watchdog_clear(int id);
void send_rpc(int service, const char *tag, ...);
2015-08-10 01:17:00 +08:00
int recv_rpc(void *slot);
struct artiq_list cache_get(const char *key);
void cache_put(const char *key, struct artiq_list value);
void core_log(const char *fmt, ...);
#endif /* __KSTARTUP_H */