"Fossies" - the Fresh Open Source Software Archive 
Member "portfwd-0.29/src/to_addr.hpp" (7 May 2002, 425 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /*
2 to_addr.hpp
3
4 $Id: to_addr.hpp,v 1.6 2002/05/07 03:15:36 evertonm Exp $
5 */
6
7 #ifndef TO_ADDR_HPP
8 #define TO_ADDR_HPP
9
10 #include "addr.h"
11
12 class to_addr
13 {
14 public:
15 virtual void show() const = 0;
16 virtual int get_addr(const char *protoname,
17 const struct sockaddr_in *cli_sa,
18 const struct sockaddr_in *local_cli_sa,
19 const struct ip_addr **addr, int *prt) = 0;
20 };
21
22 #endif /* TO_ADDR_HPP */
23
24 /* Eof: to_addr.hpp */