2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 08:26:30 +08:00
artiq/soc/runtime/session.h
whitequark f5ea202e25 session.c: bring back session_ack_{consumed,sent}.
These (called session_ack_{data,mem} before) were removed in error.
2015-08-08 14:06:11 +03:00

13 lines
280 B
C

#ifndef __SESSION_H
#define __SESSION_H
void session_start(void);
void session_end(void);
int session_input(void *data, int length);
void session_poll(void **data, int *length);
void session_ack_consumed(int length);
void session_ack_sent(int length);
#endif /* __SESSION_H */