summaryrefslogtreecommitdiff
path: root/src/shared/keyring-util.h
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate various TAKE_* into TAKE_GENERIC(), add TAKE_STRUCT()Dan Streetman2023-01-241-8/+2
|
* keyring-util: add new keyring-util.h helpersLennart Poettering2021-11-121-0/+17
This adds to new helpers: keyring_read() for reading a key data from a keyring entry, and TAKE_KEY_SERIAL which is what TAKE_FD is for fds, but for key_serial_t. The former is immediately used by ask-password-api.c