ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/sockinfo.h
(Generate patch)

Comparing gvpe/src/sockinfo.h (file contents):
Revision 1.12 by pcg, Tue Apr 26 00:55:56 2005 UTC vs.
Revision 1.13 by pcg, Fri Jun 3 05:07:31 2005 UTC

64 sockinfo(const sockaddr_in &sa, u8 prot) { set (&sa, prot); } 64 sockinfo(const sockaddr_in &sa, u8 prot) { set (&sa, prot); }
65 sockinfo(const conf_node *conf, u8 prot) { set (conf, prot); } 65 sockinfo(const conf_node *conf, u8 prot) { set (conf, prot); }
66 }; 66 };
67 67
68bool operator == (const sockinfo &a, const sockinfo &b); 68bool operator == (const sockinfo &a, const sockinfo &b);
69bool operator < (const sockinfo &a, const sockinfo &b); 69bool operator < (const sockinfo &a, const sockinfo &b);
70
71inline bool operator != (const sockinfo &a, const sockinfo &b)
72{
73 return !(a == b);
74}
70 75
71#endif 76#endif
72 77

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines