+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _snd_input snd_input_t;
typedef enum _snd_input_type {
int snd_input_scanf(snd_input_t *input, const char *format, ...) __attribute__ ((format (scanf, 2, 3)));
char *snd_input_gets(snd_input_t *input, char *str, size_t size);
int snd_input_getc(snd_input_t *input);
+
+#ifdef __cplusplus
+}
+#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _snd_output snd_output_t;
typedef enum _snd_output_type {
int snd_output_puts(snd_output_t *output, const char *str);
int snd_output_putc(snd_output_t *output, int c);
int snd_output_flush(snd_output_t *output);
+
+#ifdef __cplusplus
+}
+#endif