Commit 075c88de authored by Niels Möller's avatar Niels Möller

* src/userauth.h (lsh_process): New class.

(lsh_user): The fork_method now returns the child as an
lsh_process.

Rev: src/userauth.h:1.28
parent d3d3e574
......@@ -58,6 +58,16 @@ struct exception *
make_userauth_special_exception(struct lsh_string *reply,
const char *msg);
/* GABA:
(class
(name lsh_process)
(super resource)
(vars
(signal method int int)))
*/
#define SIGNAL_PROCESS(p, s) ((p)->signal((p), (s)))
/* GABA:
(class
(name lsh_user)
......@@ -95,8 +105,10 @@ make_userauth_special_exception(struct lsh_string *reply,
; an object containing the stdin file objects and perhaps some
; other info.
; This function also returns the pid.
; The tty argument is for utmp/wtmp logging
(fork_process method int "struct resource **child"
(fork_process method int "struct lsh_process **child"
"struct exit_callback *c"
"struct address_info * peer" "struct lsh_string *tty")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment