[pulseaudio-discuss] [PATCH 0/8] core: Add message sending/receiving
Georg Chini
georg at chini.tk
Mon Apr 9 17:35:17 UTC 2018
This is a re-base of the messaging patches. It does not contain
changes. The first two patches have already been reviewed, I
nevertheless included them for completeness.
Georg Chini (8):
core: add simple message interface
protocol-native: add message sending capability
pactl, pacmd, cli-command: Add send-message command
core: add message handler
pactl: Implement list message-handlers
message-params: Allow parameter strings to contain escaped curly
braces
message-params: Add read/write functions for various simple data types
message-params: Add read functions for arrays
PROTOCOL | 14 +
configure.ac | 2 +-
doc/messaging_api.txt | 72 +++++
man/pactl.1.xml.in | 9 +-
man/pulse-cli-syntax.5.xml.in | 7 +
shell-completion/bash/pulseaudio | 7 +-
shell-completion/zsh/_pulseaudio | 3 +
src/Makefile.am | 3 +
src/map-file | 21 ++
src/pulse/introspect.c | 71 +++++
src/pulse/introspect.h | 17 +
src/pulse/message-params.c | 654 +++++++++++++++++++++++++++++++++++++++
src/pulse/message-params.h | 109 +++++++
src/pulsecore/cli-command.c | 44 +++
src/pulsecore/core.c | 49 +++
src/pulsecore/core.h | 2 +-
src/pulsecore/message-handler.c | 148 +++++++++
src/pulsecore/message-handler.h | 50 +++
src/pulsecore/native-common.h | 3 +
src/pulsecore/pdispatch.c | 3 +
src/pulsecore/protocol-native.c | 52 ++++
src/utils/pacmd.c | 1 +
src/utils/pactl.c | 106 ++++++-
23 files changed, 1438 insertions(+), 9 deletions(-)
create mode 100644 doc/messaging_api.txt
create mode 100644 src/pulse/message-params.c
create mode 100644 src/pulse/message-params.h
create mode 100644 src/pulsecore/message-handler.c
create mode 100644 src/pulsecore/message-handler.h
--
2.14.1
More information about the pulseaudio-discuss
mailing list