Content-type: text/html Manpage of netlib

netlib

Section: C Library Functions (3)
Updated: 6 October 1999
Index Return to Main Contents
 

NAME

show_pool_host_statistics, xsystem, copen, cclose, fcopen, pipestream_kill_disable, pipestream_kill_enable, fcclose, xsystem2, copen2, fcopen2, detach_from_pipeline, socket_open, socket_stdio, socket_io_relay, checkremoteuser, sopen, fsopen, sclose, fsclose, xkill, sigrelay, sigunrelay, sigrelayto, rmexec  

SYNOPSIS

int show_pool_host_statistics
(
       FILE *stream,

       int max_trys,

       int scan_timeout

);

int xsystem
(
       char *command_str,

       char *exec_shell,

       int exec_flags,

       int *child_pid

);

int copen
(
       char *command_pipeline,

       char *shell,

       int mode

);

int cclose(int pdes);

FILE *fcopen
(
       char *command_pipeline,

       char *shell,

       char *mode

);

int pipestream_kill_disable(int fdes);

int pipestream_kill_enable(int fdes);

FILE *fcclose(FILE *pipe_stream);

int xsystem2
(
       char *command_str,

       char *exec_shell,

       int exec_flags,

       int *child_pid,

       int *in_des,

       int *out_des,

       int *err_des

);

int copen2
(
       char *command_pipeline,

       char *shell,

       int *child_pid,

       int *in_des,

       int *out_des,

       int *err_des

);

int fcopen2
(
       char *command_pipeline,

       char *shell,

       int *child_pid,

       FILE *in_stream,

       FILE *out_stream,

       FILE *err_stream

);

void detach_from_pipeline(int close_status);

int socket_open
(
       char *inet_addr,

       char *service,

       int protocol

);

int socket_stdio
(
       int appl_verbose,

       char *addr,

       char *sstdio_parameters,

       char *remote_command,

       int protocol,

       int max_trys,

       int *remote_pid

);

int socket_io_relay
(
       FILE *stream,

       char *addr,

       char *sstdio_parameters,

       char *remote_command,

       int protocol,

       int max_trys,

       int *remote_pid,

       int in_des,

       int out_des

);

int checkremoteuser
(
       char *username,

       char *password,

       char *remotehost,

       char *shell

);

int sopen
(
       FILE *stream,

       char *remotehost,

       char *service,

       char *sopen_parameters,

       char *command,

       int protocol,

       int max_trys,

       int *remote_daemon_pid

);

FILE *fsopen
(
       FILE *stream,

       char *remotehost,

       char *service,

       char *sopen_parameters,

       char *command,

       int protocol,

       int max_trys,

       int *remote_xrshd_pid

);

int sclose
(
       FILE *stream,

       int sdes

);

FILE *fsclose
(
       FILE *stream,

       FILE *socketstream

);

int xkill
(
       FILE *stream,

       char *hostname,

       char *username,

       char *password,

       int pid,

       int signum,

       int max_trys

);

int sigrelay
(
       int signum,

       sigtab_type *sigtab_entry

);

int sigunrelay
(
       int signum,

       sigtab_type sigtab_entry

);

void sigrelayto
(
       char *hostname,

       int pid

);

int rmexec
(
       char *hostname,

       char *command

);
 

PARAMETERS

int scan_timeout
Not Documented.
char *command_str
Command string.
char *exec_shell
Shell used for execing.
int exec_flags
Exec control flags.
int *child_pid       (xsystem)
PID of child process.
int mode
Not Documented.
int pdes
Not Documented.
char *mode
Not Documented.
int fdes
Not Documented.
FILE *pipe_stream
Not Documented.
int *in_des  (xsystem2)
Pipe to child process.
int *out_des (xsystem2)
Pipe from child process.
int *err_des (xsystem2)
Child error pipe.
char *command_pipeline       (copen2)
Command stream to execute.
char *shell
Exec shell.
int *child_pid       (copen2)
Child PID.
int *in_des  (copen2)
Input descriptor.
int *out_des (copen2)
Output descriptor.
int *err_des (copen2)
Error/status descriptor.
char *command_pipeline       (fcopen2)
Command stream to exec.
FILE *in_stream
Input stream.
FILE *out_stream
Output stream.
FILE *err_stream
Error/status stream.
int close_status
Not Documented.
char *inet_addr
Not Documented.
int appl_verbose
Be appl_verbose.
char *addr
Address of server.
char *sstdio_parameters
Parameters for xrshd server.
char *remote_command
Parameters for remote command.
int protocol (socket_stdio)
Network protocol to use.
int max_trys (socket_stdio)
Number of connect attempts.
int *remote_pid
(Returned) PID of remote command.
FILE *stream (socket_io_relay)
Stream for diagnostic information.
int in_des
Input file descriptor (to socket).
int out_des
Output file descriptor (from socket).
char *username
Not Documented.
char *password
Not Documented.
FILE *stream (sopen)
Stream for status information.
char *remotehost     (sopen)
Host to connect to.
char *service
Name of remote service (daemon).
char *sopen_parameters       (sopen)
Authentication token.
char *command
Remote command to run.
int protocol (sopen)
Netowrk protocol.
int max_trys (sopen)
Max number of connection attempts.
int *remote_daemon_pid
PID of remote daemon process.
char *remotehost     (fsopen)
Name of remote host.
char *sopen_parameters       (fsopen)
Parameters for daemon.
int *remote_xrshd_pid
PID of remote xrshd process.
int sdes
Not Documented.
FILE *socketstream
Not Documented.
char *hostname
Not Documented.
int pid
Not Documented.
int signum
Not Documented.
sigtab_type *sigtab_entry
Not Documented.
sigtab_type sigtab_entry
Not Documented.
 

DESCRIPTION

 

show_pool_host_statistics

Display current loadings of all (accessible) hosts in the pool ...  

xsystem

Public variables exported by the extended system command processer ...  

copen

Open a descriptor to a command pipeline ...  

cclose

Close pipe descriptor waiting for associated processes to finish ...  

fcopen

Open a stream to a command pipeline ...  

pipestream_kill_disable

Do not kill pipestream processes explicitly when pipestream is closed ...  

pipestream_kill_enable

Kill pipestream processes explicitly when pipestream is closed ...  

fcclose

Close a pipestream waiting for its processes ...  

xsystem2

Extended system command processer with bi-directional data streams and error/status stream ...  

copen2

Open a descriptor to a command pipeline - this is effectively a simplified interface to the xsystem call ...  

fcopen2

Open command pipeline with optional attached input, output and error streams ...  

detach_from_pipeline

Detach process from pipeline ...  

socket_open

Open socket to named service on remote host ...  

socket_stdio

Connect socketed remote service to stdion and stdout via a socket ...  

socket_io_relay

Connect socketed remote service to pair of local I/O descriptors via a socket. This is more efficient than socket_tty_stdio() and should be used when PSRP servers need (non terminal) peer-to-peer communication ...  

checkremoteuser

Check to see if remote user is permitted to run service ...  

sopen

Open PUPS remote command daemon - returns socket connected to a shell ...  

fsopen

Open a stream (to socketed remote command) ...  

sclose

Close connection to socketed command (and relay SIGPIPE to remote socketed command to tell it to terminate) ...  

fsclose

Close stream connection to socketed command (and relay SIGPIPE to remote socketed command to tell it to terminate) ...  

xkill

Send signal to process running on remote host ...  

sigrelay

Install signal relay handler (which relays signals to remote process) ...  

sigunrelay

Deinstall signal relay handler (replacing it with local handler) ...  

sigrelayto

Nominate host (and pid) to recieve relayed signals ...  

rmexec

Execute a command on remote host ...


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
show_pool_host_statistics
xsystem
copen
cclose
fcopen
pipestream_kill_disable
pipestream_kill_enable
fcclose
xsystem2
copen2
fcopen2
detach_from_pipeline
socket_open
socket_stdio
socket_io_relay
checkremoteuser
sopen
fsopen
sclose
fsclose
xkill
sigrelay
sigunrelay
sigrelayto
rmexec

This document was created by man2html, using the manual pages.
Time: 16:36:10 GMT, January 10, 2008