18 lines
546 B
C
18 lines
546 B
C
#ifndef __SST_H__
|
|
#define __SST_H__
|
|
|
|
#define SST_MAX_QUESTIONS 2
|
|
extern char *sst_questions[SST_MAX_QUESTIONS];
|
|
#define SST_MAX_ANSWERS 3
|
|
extern char *sst_answers[SST_MAX_ANSWERS];
|
|
struct sst_info;
|
|
|
|
int sst_init(void);
|
|
void sst_destroy(void);
|
|
struct sst_info* get_sst_info(void);
|
|
int sst_produce_question(struct sst_info *info, char *value);
|
|
int sst_produce_answer(struct sst_info *info, char *value);
|
|
int sst_consume_question(struct sst_info *info, char **value);
|
|
int sst_consume_answer(struct sst_info *info, char **value);
|
|
#endif // __SST_H__
|