… | |
… | |
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 | |
68 | bool operator == (const sockinfo &a, const sockinfo &b); |
68 | bool operator == (const sockinfo &a, const sockinfo &b); |
69 | bool operator < (const sockinfo &a, const sockinfo &b); |
69 | bool operator < (const sockinfo &a, const sockinfo &b); |
|
|
70 | |
|
|
71 | inline bool operator != (const sockinfo &a, const sockinfo &b) |
|
|
72 | { |
|
|
73 | return !(a == b); |
|
|
74 | } |
70 | |
75 | |
71 | #endif |
76 | #endif |
72 | |
77 | |