chiark / gitweb /
terminal: allow user-context to be retrieved/stored
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 15:37:21 +0000 (17:37 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:14:44 +0000 (18:14 +0200)
commitf2a15d86ccd0729e1442f40679cd393417e1e177
tree6ebd5218d2df0cfaa2192ee81798ebd631c6621c
parent5d301b8aecc286d6ec7e92b0864d66360ea57205
terminal: allow user-context to be retrieved/stored

Add "userdata" storage to a bunch of external objects, namely displays and
sessions. Furthermore, add some property retrieval helpers.

This is required if we want external API users to not duplicate our own
object hashtables, but retrieve context from the objects themselves.
src/libsystemd-terminal/grdev-internal.h
src/libsystemd-terminal/grdev.c
src/libsystemd-terminal/grdev.h
src/libsystemd-terminal/sysview-internal.h
src/libsystemd-terminal/sysview.c
src/libsystemd-terminal/sysview.h