summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-11-14 11:40:46 +0000
committerJaroslav Kysela <perex@perex.cz>2001-11-14 11:40:46 +0000
commit87b5b249a503ea7eb3edffec9528717a8b028159 (patch)
tree270ff707df14a956004d17607d86ad7233cef262 /include/input.h
parent5e58abf785c5318c983d792ca86300f1f46f51a1 (diff)
pcm.h - major documentation updates and reordering
Cleanup for __cplusplus defines.
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/input.h b/include/input.h
index 908c205a..48d636c4 100644
--- a/include/input.h
+++ b/include/input.h
@@ -28,6 +28,10 @@
#ifndef __ALSA_INPUT_H
#define __ALSA_INPUT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* \defgroup Input Input Interface
* Input Interface
@@ -45,10 +49,6 @@ typedef enum _snd_input_type {
SND_INPUT_BUFFER,
} snd_input_type_t;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
int snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode);
int snd_input_stdio_attach(snd_input_t **inputp, FILE *fp, int _close);
int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, ssize_t size);
@@ -58,11 +58,11 @@ char *snd_input_gets(snd_input_t *input, char *str, size_t size);
int snd_input_getc(snd_input_t *input);
int snd_input_ungetc(snd_input_t *input, int c);
+/** \} */
+
#ifdef __cplusplus
}
#endif
-/** \} */
-
#endif /* __ALSA_INPUT_H */
-
+ \ No newline at end of file