OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.h versions 1.15 and 1.16
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.h 1.15 -> 1.16

--- sa.h 2001/10/08 15:01:26     1.15
+++ sa.h 2001/10/09 13:19:25     1.16
@@ -110,6 +110,7 @@
     SA_ERR_MEM, /* out of memory */
     SA_ERR_SYS, /* system error (see errno) */
     SA_ERR_EOF, /* end of file/socket communication */
+    SA_ERR_MTC, /* error in match */
     SA_ERR_INT  /* internal error */
 } sa_rc_t;
 
@@ -147,6 +148,7 @@
 sa_rc_t sa_addr_s2a     (sa_addr_t *saa, const struct sockaddr *sabuf, socklen_t salen);
 sa_rc_t sa_addr_a2u     (sa_addr_t *saa, char **uri);
 sa_rc_t sa_addr_a2s     (sa_addr_t *saa, struct sockaddr **sabuf, socklen_t *salen);
+sa_rc_t sa_addr_match   (sa_addr_t *saa1, sa_addr_t *saa2, size_t prefixlen);
 
 /* socket object operations */
 sa_rc_t sa_create       (sa_t **sa);

CVSTrac 2.0.1