More debianization
[erwise] / Cl / ClMisc.c
1 /*
2  * ClMisc.c --
3  *
4  * Author: Teemu Rantanen <tvr@cs.hut.fi>
5  * Copyright (c) 1992 Teemu Rantanen
6  *                    All rights reserved
7  *
8  * Created: Mon Apr 20 19:27:04 1992 tvr
9  * Last modified: Mon Apr 20 19:48:47 1992 tvr
10  *
11  */
12
13 #include "Cl.h"
14
15
16 /*
17  * Set mode to poll or to select connection
18  */
19
20 void
21 WWWErwiseSetPoll ()
22 {
23   CL_DEBUG (("SetPoll\n"));
24
25   WWWErwiseConnection->select_fd = 0;
26
27   WWWErwiseConnection->function++;
28 }
29
30 void
31 WWWErwiseSetSelect ()
32 {
33   CL_DEBUG (("SetSelect\n"));
34
35   WWWErwiseConnection->select_fd = WWWErwiseConnection->fd;
36
37   WWWErwiseConnection->function++;
38 }