* quiescent, and deletes the handler.
*/
-void
-simpleDeleteFileHandler (fd)
- int fd;
+void
+simpleDeleteFileHandler (int fd)
{
/* First of all, we have to zero the file's mask to avoid calling the same
handler over again if the file is still ready. */
* deleted. All that remains is to deallocate the server's data structures.
*/
-static void
-tcpDeleteServer (server)
- Tcp_ServerData * server;
+static void
+tcpDeleteServer (Tcp_ServerData *server)
{
/* Get rid of the server's initial command */
* to the dead client, but we shouldn't have come here in that case.
*/
-static void
-tcpCloseClient (client)
- Tcp_ClientData * client;
+static void
+tcpCloseClient (Tcp_ClientData *client)
{
if (client -> activeFlag)
abort ();
strcmp ((name1), (name2))
#endif
-static int
-tcpTrustedHost (hostName)
- char * hostName;
+static int
+tcpTrustedHost (char *hostName)
{
char localName [128];
struct hostent * hostEnt;
* actual command buffering.
*/
-static void
-tcpPrepareClientForInput (client)
- Tcp_ClientData * client;
+static void
+tcpPrepareClientForInput (Tcp_ClientData *client)
{
simpleCreateFileHandler (client -> socketfd, TK_READABLE,
(Tk_FileProc *) tcpReceiveClientInput,
* it must define the `tcperror' procedure and process the error.
*/
-static void
-tcpClientReadError (client)
- Tcp_ClientData * client;
+static void
+tcpClientReadError (Tcp_ClientData *client)
{
Tcp_ServerData * server = client -> server;
Tcl_Interp * interp = server -> interp;
* it must define the `tcperror' procedure to catch the error.
*/
-static void
-tcpClientWriteError (client)
- Tcp_ClientData * client;
+static void
+tcpClientWriteError (Tcp_ClientData *client)
{
Tcp_ServerData * server = client -> server;
Tcl_Interp * interp = server -> interp;