48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text/html; charset=iso-8859-1">
|
|
<meta name="Author" content>
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
|
|
<title>dp_admin</title>
|
|
</head>
|
|
|
|
<body bgcolor="#C0C0C0" text="#000000" link="#0000EE"
|
|
vlink="#551A8B" alink="#FF0000">
|
|
|
|
<h3>dp_admin</h3>
|
|
|
|
<p><b>Syntax</b></p>
|
|
|
|
<p><tt>dp_admin register </tt><em><tt>chanID</tt></em><tt>
|
|
?-check </tt><em><tt>checkCmd</tt></em><tt>?<br>
|
|
dp_admin delete </tt><em><tt>chanID</tt></em></p>
|
|
|
|
<p><b>Comments</b></p>
|
|
|
|
<p>dp_admin registers a channel so that RPCs or RDOs may be
|
|
performed using that channel. Call dp_admin delete before closing
|
|
an RPC channel in order to clean up the internal DP structures
|
|
associated with this channel. </p>
|
|
|
|
<p><em>checkCmd</em> is an optional Tcl script that will be
|
|
called with the RPC as the argument before the RPC is executed.
|
|
If <em>checkCmd</em> returns an error, the RPC will not be
|
|
executed and an error will be returned to the sender.</p>
|
|
|
|
<p>dp_admin returns 0 if all went well or 1 if there was an
|
|
error.</p>
|
|
|
|
<p><b>Examples</b></p>
|
|
|
|
<dl>
|
|
<dt><tt>dp_admin register $newRpcChan</tt></dt>
|
|
<dt><tt>dp_admin delete $oldRpcChan</tt></dt>
|
|
<dt> </dt>
|
|
</dl>
|
|
</body>
|
|
</html>
|
|
|