libei/src
Peter Hutterer 1991b8f52d util: change the signal handler to a context-manager like macro
Change the signal-blocking helper to take a vararg list of signals to
block and provide a magic macro that works like python's context
manager, using  attribute(cleanup).

In our for loop we create a new struct with the old sigmask and a
boolean that's always true. We enter the body of the loop once and
set that boolean to false on the second run, i.e. we never do more than
one run. On loop exit, the destroy function for our struct restores the
previous signal mask.
2022-12-08 12:37:46 +10:00
..
brei-shared.c Remove a double semicolon 2022-07-29 13:38:28 +10:00
brei-shared.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
libei-device.c Fix absolute events filtering 2022-09-16 16:03:30 +02:00
libei-event.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libei-fd.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libei-log.c log: abstract the auxiliary information into a log message context 2022-08-11 10:09:34 +10:00
libei-private.h proto: allow the client to set the protocol version 2022-09-07 09:42:59 +10:00
libei-property.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libei-proto.c proto: separate pre-connection properties into ConfigureProperty 2022-09-07 10:07:56 +10:00
libei-proto.h proto: allow the client to set the protocol version 2022-09-07 09:42:59 +10:00
libei-region.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libei-seat.c Change to allow dynamic binding of capabilities 2022-04-04 05:24:16 +00:00
libei-socket.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libei.c Fix some logging linebreak issues 2022-09-07 10:03:11 +10:00
libei.h Purge the portal code 2022-12-08 10:45:47 +10:00
libeis-client.c proto: separate pre-connection properties into ConfigureProperty 2022-09-07 10:07:56 +10:00
libeis-device.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-event.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-fd.c eis: Remove eis_backend_fd_add_fd() 2022-04-27 02:00:07 +00:00
libeis-log.c log: abstract the auxiliary information into a log message context 2022-08-11 10:09:34 +10:00
libeis-private.h proto: add versioned Configure transactions 2022-09-07 09:43:03 +10:00
libeis-property.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
libeis-proto.c proto: separate pre-connection properties into ConfigureProperty 2022-09-07 10:07:56 +10:00
libeis-proto.h proto: separate pre-connection properties into ConfigureProperty 2022-09-07 10:07:56 +10:00
libeis-region.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-seat.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis-socket.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis.c Drop the trailing newline from the log messages 2022-08-11 10:09:27 +10:00
libeis.h doc: fix a doxygen warning about a wrong parameter name 2022-12-01 18:56:18 +10:00
liboeffis.c liboeffis is a wrapper library for the RemoteDesktop communication 2022-12-08 11:22:50 +10:00
liboeffis.h liboeffis is a wrapper library for the RemoteDesktop communication 2022-12-08 11:22:50 +10:00
libreis.c proto: separate pre-connection properties into ConfigureProperty 2022-09-07 10:07:56 +10:00
libreis.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-bits.c util: only do flag_* operations if the bit fits 2022-07-29 15:43:48 +10:00
util-bits.h util: only do flag_* operations if the bit fits 2022-07-29 15:43:48 +10:00
util-color.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-io.c util: change the signal handler to a context-manager like macro 2022-12-08 12:37:46 +10:00
util-io.h util: change the signal handler to a context-manager like macro 2022-12-08 12:37:46 +10:00
util-list.c util: add the macros to run through a list backwards 2022-05-17 14:36:39 +10:00
util-list.h util: add the macros to run through a list backwards 2022-05-17 14:36:39 +10:00
util-logger.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
util-logger.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-macros.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-mem.h doc: fix a comment in util-mem.h 2022-12-01 18:56:18 +10:00
util-memfile.c util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
util-memfile.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-munit.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-munit.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-object.h util-object: split macro to generate unref into one two 2022-03-03 05:41:15 +00:00
util-sources.c Rename ei active/passive to sender/receiver 2022-04-04 15:42:27 +10:00
util-sources.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-strings.c util: add a helper for fetching the cmdline. 2022-03-03 00:43:02 +00:00
util-strings.h util: add a helper for fetching the cmdline. 2022-03-03 00:43:02 +00:00
util-structs.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-time.h Add timestamps to frame events 2022-05-17 07:18:41 +10:00
util-tristate.h Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
util-version.h Add a version macro for grepable version numbers 2022-09-07 09:20:27 +10:00