author | viric@mandarina |
Thu, 21 Aug 2008 23:21:22 +0200 | |
changeset 93 | 7d9b7a6da507 |
parent 66 | b2469563a1dc |
permissions | -rw-r--r-- |
24 | 1 |
typedef void (*Net_c_prepare_read_fdset)(fd_set *read_set, int *maxfd); |
2 |
/* Send -1 on eof */ |
|
3 |
typedef int (*Net_c_process_read_fdset)(fd_set *read_set); |
|
43
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
4 |
typedef void (*Net_c_send)(const char *buf, size_t len); |
24 | 5 |
|
21 | 6 |
/* unix_server.c */ |
7 |
void s_unix_update_served(int new); |
|
8 |
void s_unix_shutdown(); |
|
9 |
void s_unix_prepare_read_fdset(fd_set *read_set, int *maxfd); |
|
10 |
void s_unix_process_read_fdset(fd_set *read_set); |
|
11 |
void get_unix_path(); |
|
12 |
void s_unix_send_to_connected(const char *buffer, size_t size); |
|
13 |
||
14 |
/* app_control.c */ |
|
36
da427c23d755
Added dumps, telnet_filter, applied filters in tm, improved telnet experience.
viric@llimona
parents:
33
diff
changeset
|
15 |
void app_control_start(); |
21 | 16 |
void app_control_shutdown(); |
17 |
void app_control_prepare_read_fdset(fd_set *read_set, int *maxfd); |
|
18 |
int app_control_process_read_fdset(fd_set *read_set); |
|
32
df110f784648
Added read-only clients, added stdin-close option to clients.
lbatlle@npdl268.bpo.hp.com
parents:
24
diff
changeset
|
19 |
void app_control_remote_send_to_stdin(const char *buffer, size_t size); |
df110f784648
Added read-only clients, added stdin-close option to clients.
lbatlle@npdl268.bpo.hp.com
parents:
24
diff
changeset
|
20 |
void app_control_local_send_to_stdin(const char *buffer, size_t size); |
23 | 21 |
|
22 |
/* unix_client.c */ |
|
24 | 23 |
void c_unix_connect_socket(); |
24 |
/* Send -1 on eof */ |
|
23 | 25 |
void c_unix_prepare_read_fdset(fd_set *read_set, int *maxfd); |
24 | 26 |
int c_unix_process_read_fdset(fd_set *read_set); |
43
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
27 |
void c_unix_send(const char *buf, size_t len); |
24 | 28 |
|
29 |
/* client_term.c */ |
|
30 |
void send_to_client_stdout(const char *buf, int len); |
|
33 | 31 |
|
32 |
/* tcp_server.c */ |
|
33 |
void s_tcp_update_served(int new); |
|
34 |
void s_tcp_shutdown(); |
|
35 |
void s_tcp_prepare_read_fdset(fd_set *read_set, int *maxfd); |
|
36 |
void s_tcp_process_read_fdset(fd_set *read_set); |
|
37 |
void s_tcp_send_to_connected(const char *buffer, size_t size); |
|
43
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
38 |
|
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
39 |
/* eth_server.c */ |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
40 |
void s_eth_init(); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
41 |
void s_eth_shutdown(); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
42 |
void s_eth_prepare_read_fdset(fd_set *read_set, int *maxfd); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
43 |
void s_eth_process_read_fdset(fd_set *read_set); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
44 |
void s_eth_send_to_connected(const char *buffer, size_t size); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
45 |
|
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
46 |
/* eth_server.c */ |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
47 |
void c_eth_init(); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
48 |
void c_eth_shutdown(); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
49 |
void c_eth_prepare_read_fdset(fd_set *read_set, int *maxfd); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
50 |
int c_eth_process_read_fdset(fd_set *read_set); |
625794738afc
Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
36
diff
changeset
|
51 |
void c_eth_send_to_connected(const char *buffer, size_t size); |
66
b2469563a1dc
Reliable ethernet protocol. I still need pselect instead of select.
viric@mandarina
parents:
43
diff
changeset
|
52 |
|
b2469563a1dc
Reliable ethernet protocol. I still need pselect instead of select.
viric@mandarina
parents:
43
diff
changeset
|
53 |
/* flow.c */ |
b2469563a1dc
Reliable ethernet protocol. I still need pselect instead of select.
viric@mandarina
parents:
43
diff
changeset
|
54 |
void avoid_sending(fd_set *read_set); |