2 * Copyright (c) 1995 Danny Gasparovski.
4 * Please read the file COPYRIGHT for the
5 * terms and conditions of the copyright.
12 int ex_pty
; /* Do we want a pty? */
13 struct in_addr ex_addr
; /* Server address */
14 int ex_fport
; /* Port to telnet to */
15 const char *ex_exec
; /* Command line of what to exec */
16 struct ex_list
*ex_next
;
20 char *strdup(const char *);
30 #define EMU_REALAUDIO 0x5
31 #define EMU_RLOGIN 0x6
35 #define EMU_NOCONNECT 0x10 /* Don't connect */
52 void slirp_insque(void *, void *);
53 void slirp_remque(void *);
54 int add_exec(struct ex_list
**, int, char *, struct in_addr
, int);
55 int fork_exec(struct socket
*so
, const char *ex
, int do_pty
);