• Marius Vlad's avatar
    weston-log: Rename scope's 'begin_cb' callback to 'new_subscriber' · dad882a1
    Marius Vlad authored
    Rather than using 'begin_cb' rename it to a more suitable name.
    
    Further more instead of using the scope use the subscription to pass as
    an argument. The source scope is attached to the subscription when
    creating it so we can access it that way.
    
    This also adds a _complete and a _printf method for the subscription
    such that the callbacks can use to write data to only _that_
    subscription and to close/complete it, otherwise writing to a scope
    results in writing to all subscriptions for that scope which is not
    correct.
    
    In the same time, the scope counter-parts of _write and _complete will
    now use the subscription function as well.
    Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
    Suggested-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
    dad882a1
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
include Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
man Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
DCO-1.1.txt Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...