Gnome Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
These routines are used to select and manage the user preferences for remote command execution.
Given a host, this function will return the user's desired `rsh'-like command to use to contact that host. This lets the user choose how to log in on a host-by-host basis. If host is NULL, then the user's default remote shell command is chosen.
host : | Host where command should be run |
argcp : | Result parameter; number of elements in rsh command |
argvp : | Result parameter; the actual rsh command to use |
This sets the appropriate options in the config database so that subsequent calls to gnome_remote_get_command() will return argv. If host is NULL, then the user's default remote shell is set. If argc is 0, then this instance of the command is deleted.
host : | Name of host |
argc : | Number of elements in argument vector |
argv : | Command line to use to contact host |