~ubuntu-branches/debian/lenny/dropbear/lenny

« back to all changes in this revision

Viewing changes to remotetcpfwd.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2005-05-25 22:38:17 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050525223817-fdl653extybmz1zb
Tags: 0.45-3
* debian/dropbear.init: init script prints human readable message in case
  it's disabled (closes: #309099).
* debian/dropbear.postinst: configure: restart service through init script
  instead of start.
* debian/dropbear.prerm: set -u -> set -e.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _REMOTETCPFWD_H
2
 
#define _REMOTETCPFWD_H
3
 
 
4
 
#define MAX_TCPLISTENERS 20
5
 
#define TCP_EXTEND_SIZE 1
6
 
 
7
 
struct TCPListener {
8
 
 
9
 
        int sock;
10
 
        unsigned char* addr;
11
 
        unsigned int port;
12
 
 
13
 
        int index; /* index in the array of listeners */
14
 
 
15
 
};
16
 
 
17
 
void remotetcpinitialise();
18
 
void recv_msg_global_request_remotetcp();
19
 
void handleremotetcp(fd_set * readfds);
20
 
void setremotetcpfds(fd_set * readfds);
21
 
 
22
 
#endif /* _REMOTETCPFWD_H */