struct server {
    struct server *next;
    
    enum { server_init, server_cmd_wait, server_running, server_terminating }
        state;
    struct r_connection *conn;	/* host connection */
    char **argv;		/* command to run */
    char *output_file;		/* output file */
    char *name;			/* host name */
    char *target;		/* target name */
    char *cmdstr;		/* command string */
    int status;
    int unique;			/* unique id */
    PROCESS pid;
};
