diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-30 16:57:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-30 16:58:54 +0000 |
| commit | f6533a71e4996f2f4cd45336966cebf6c3f34b1e (patch) | |
| tree | c3c85c360a4cd690764707a1254bc10a23902508 /slave.h | |
| parent | readme: remove 'explanation' of server/daemon mode (diff) | |
user-notification: 'productify' the user-warning system
* Rename user_warning to user_notification
* Add warning and error types (in addition to the existing deprecated)
* Simplify logic when emitting a user notification after forking; we
don't need to copy the notification data since we're in a new
process and have total control over that memory.
Diffstat (limited to 'slave.h')
| -rw-r--r-- | slave.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,9 +3,9 @@ #include <sys/types.h> -#include "terminal.h" +#include "user-notification.h" pid_t slave_spawn( int ptmx, int argc, const char *cwd, char *const *argv, const char *term_env, const char *conf_shell, bool login_shell, - const user_warning_list_t *warnings); + const user_notifications_t *notifications); |
