99f710dde855f7ecb699ddac6ad77923c1f6bc85 |
|
24-Apr-2015 |
Daniel Mack <daniel@zonque.org> |
shared/utmp-wtmp: add parameter for origin tty and callback userdata
Instead of looking up the tty from STDIN, let utmp_wall() take an argument
to specify an origin tty for the wall message. Only if that argument is
NULL do the STDIN lookup.
Also add an void *userdata argument that is handed back to the callback
function. |