Lines Matching defs:channel

4  *	Common channel driver for Unix channels based on files, command
21 * This structure describes per-instance state of a file based channel.
30 * This structure describes per-instance state of a pipe based channel.
46 * This structure describes per-instance state of a tcp based channel.
175 * This structure describes the channel type structure for file based IO:
189 FileGetProc, /* Get Tcl_Files out of channel. */
193 * This structure describes the channel type structure for command pipe
208 PipeGetProc, /* Get Tcl_Files out of channel. */
212 * This structure describes the channel type structure for TCP socket
227 TcpGetProc, /* Get Tcl_Files out of channel. */
237 * file based channel. Invoked by generic IO level code.
323 * input from a file based channel.
330 * Reads input from the input device of the channel.
354 * possible, if the channel is in blocking mode. If the channel is
373 * output to a file channel.
381 * Writes output on the output device of the channel.
414 * channel-type-specific cleanup when a file based channel is closed.
420 * Closes the device of the channel.
473 * access point in a file based channel.
481 * Moves the location at which the channel will be accessed in
524 * Initialize the notifier to watch Tcl_Files from this channel.
530 * Sets up the notifier so that a future event on the channel will
569 * present on the channel.
615 * a file based channel.
674 * Punt if the channel is not a command channel.
702 * pipe based channel. Invoked by generic IO level code.
788 * channel-type-specific cleanup when a command pipeline channel
795 * Closes the command pipeline channel.
835 * If the channel is non-blocking or Tcl is being cleaned up, just
849 * Wrap the error file into a channel and give it to the cleanup
884 * input from a command pipeline based channel.
891 * Reads input from the input device of the channel.
915 * possible, if the channel is in blocking mode. If the channel is
934 * output to a command pipeline based channel.
942 * Writes output on the output device of the channel.
974 * Initialize the notifier to watch Tcl_Files from this channel.
980 * Sets up the notifier so that a future event on the channel will
1019 * present on the channel.
1065 * a command pipeline based channel.
1098 * Open an file based channel on Unix systems.
1101 * The new channel or NULL. If NULL, the output argument
1106 * May open the channel and may cause creation of a file on the
1198 * The channel may not be open now, for example if we tried to
1204 Tcl_AppendResult(interp, "couldn't create channel \"",
1276 * Look to see if a channel with those two Tcl_Files already exists.
1286 * If one of the Tcl_Files is used in another channel, do not
1287 * create a new channel containing it; this avoids core dumps
1309 * the platform specific channel initialization for a command
1310 * channel.
1313 * Returns a new channel or NULL on failure.
1316 * Allocates a new channel.
1330 * the channel is closed or the processes
1333 Tcl_Channel channel;
1355 * Use one of the fds associated with the channel as the
1356 * channel id.
1376 channel = Tcl_CreateChannel(&pipeChannelType, channelName,
1379 if (channel == NULL) {
1387 return channel;
1416 Tcl_Channel chan; /* The channel to get pids for. */
1417 Tcl_ChannelType *chanTypePtr; /* The type of that channel. */
1457 * and nonblocking mode on a TCP socket based channel.
1590 * from a TCP socket based channel.
1593 * we must use recv to obtain the input from the channel, not read.
1601 * Reads input from the input device of the channel.
1651 * to a TCP socket based channel.
1661 * Writes output on the output device of the channel.
1700 * channel-type-specific cleanup when a TCP socket based channel
1707 * Closes the socket of the channel.
1731 * Channel handlers are already deleted in the generic IO channel
1760 * Computes an option value for a TCP socket based channel, or a
1867 * Initialize the notifier to watch Tcl_Files from this channel.
1873 * Sets up the notifier so that a future event on the channel will
1898 * present on the channel.
1929 * a TCP socket based channel.
2185 * Opens a TCP client socket and creates a channel around it.
2188 * The channel or NULL if failed. An error message is returned
2192 * Opens a client socket and creates a new channel.
2213 * Create a new client socket and wrap it in a channel.
2256 ClientData sock; /* The socket to wrap up into a channel. */
2287 * Opens a TCP server socket and creates a channel around it.
2290 * The channel or NULL if failed. If an error occurred, an
2295 * Opens a server socket and creates a new channel.
2315 * Create a new client socket and wrap it in a channel.
2428 * Returns the specified default standard channel, or NULL.
2431 * May cause the creation of a standard channel and the underlying
2441 Tcl_Channel channel = NULL;
2475 panic("TclGetDefaultStdChannel: Unexpected channel type");
2479 channel = Tcl_MakeFileChannel((ClientData) fd, (ClientData) fd, mode);
2482 * Set up the normal channel options for stdio handles.
2485 if (Tcl_SetChannelOption(NULL, channel, "-translation", "auto") ==
2487 Tcl_Close((Tcl_Interp *) NULL, channel);
2490 if (Tcl_SetChannelOption(NULL, channel, "-buffering", bufMode) ==
2492 Tcl_Close((Tcl_Interp *) NULL, channel);
2495 return channel;
2507 * with the command channel.
2533 * Given a name of a channel registered in the given interpreter,
2537 * A standard Tcl result. If the channel is registered in the given
2538 * interpreter and it is managed by the "file" channel driver, and
2559 * check that the channel is open for the
2586 * based channels. We currently do not allow any other channel types,