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.4 by pcg, Sat Apr 5 02:32:40 2003 UTC vs.
Revision 1.5 by pcg, Sat Apr 5 17:54:22 2003 UTC

36 u8 pad1; 36 u8 pad1;
37 37
38 void set (const sockaddr_in *sa, u8 prot_); 38 void set (const sockaddr_in *sa, u8 prot_);
39 void set (const conf_node *conf, u8 prot_); 39 void set (const conf_node *conf, u8 prot_);
40 40
41 // return the supported protocols
42 u8 supported_protocols (conf_node *conf = 0);
43 bool upgrade_protocol (u8 prot_, conf_node *conf = 0);
44
41 operator const char *() const; 45 operator const char *() const;
42 46
43 const sockaddr *sav4 () const; 47 const sockaddr *sav4 () const;
44 const socklen_t salenv4 () const 48 const socklen_t salenv4 () const
45 { return sizeof (sockaddr_in); } 49 { return sizeof (sockaddr_in); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines