1 /* 2 port_pair.h 3 4 $Id: port_pair.h,v 1.1.1.1 2001/05/15 00:25:00 evertonm Exp $ 5 */ 6 7 #ifndef PORT_PAIR_H 8 #define PORT_PAIR_H 9 10 #include <stdio.h> 11 12 class port_pair { 13 private: 14 int first; 15 int last; 16 17 public: 18 port_pair(int p1, int p2); 19 20 void show() const; 21 22 int match(int port) const; 23 }; 24 25 #endif /* PORT_PAIR_H */ 26 27 /* Eof: port_pair.h */