summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-01 14:04:58 -0700
committerKeith Packard <keithp@keithp.com>2011-04-01 14:04:58 -0700
commit359ba0d9fc2c5947e6adc98bebcd061069c61e79 (patch)
tree5f5a398d56fd4fb7276462ba14578226cfdb28c3 /src/ao.h
parentce18eaa28b1385c962c09459cbc5f20e234d9ad5 (diff)
altos: expose set of available stdio values
This lets external code manipulate which connection to communicate over. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index 64f33f0b..2d2bbf82 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1169,6 +1169,9 @@ struct ao_stdio {
void (*flush)(void);
};
+extern __data int8_t ao_cur_stdio;
+extern __data int8_t ao_num_stdios;
+
void
flush(void);