summaryrefslogtreecommitdiff
path: root/axfer/xfer-libffado.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2018-12-07 18:41:02 +0900
committerTakashi Iwai <tiwai@suse.de>2018-12-07 10:57:44 +0100
commit97fe7b550c0ff5549985363c753b1d52b9248c5f (patch)
treeec74dd283501e4459824ef54bc0ce17a9c81808c /axfer/xfer-libffado.c
parent908ff69be246caade8d61e0003a291c2ac68a786 (diff)
downloadalsa-utils-97fe7b550c0ff5549985363c753b1d52b9248c5f.tar.gz
axfer: enable each backend to print own help
This commit adds an operation for xfer backend to print help text. In this time, content of the help is not implemented yet. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'axfer/xfer-libffado.c')
-rw-r--r--axfer/xfer-libffado.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/axfer/xfer-libffado.c b/axfer/xfer-libffado.c
index 3b52e2c..0052336 100644
--- a/axfer/xfer-libffado.c
+++ b/axfer/xfer-libffado.c
@@ -537,6 +537,11 @@ static void xfer_libffado_destroy(struct xfer_context *xfer)
state->guid_literal = NULL;
}
+static void xfer_libffado_help(struct xfer_context *xfer)
+{
+ printf(" (placeholder)\n");
+}
+
const struct xfer_data xfer_libffado = {
.s_opts = S_OPTS,
.l_opts = l_opts,
@@ -550,6 +555,7 @@ const struct xfer_data xfer_libffado = {
.pause = xfer_libffado_pause,
.post_process = xfer_libffado_post_process,
.destroy = xfer_libffado_destroy,
+ .help = xfer_libffado_help,
},
.private_size = sizeof(struct libffado_state),
};