OSSP CVS Repository

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

ossp-pkg/sa/sa.h 1.21 -> 1.22

--- sa.h 2001/10/10 07:42:26     1.21
+++ sa.h 2001/10/10 09:21:27     1.22
@@ -104,15 +104,15 @@
 
 /* return codes */
 typedef enum {
-    SA_OK,      /* everything ok               */
-    SA_ERR_ARG, /* invalid argument            */
-    SA_ERR_USE, /* invalid use or context      */
-    SA_ERR_MEM, /* not enough memory available */
-    SA_ERR_MTC, /* matching operation failed   */
-    SA_ERR_EOF, /* communication end           */
-    SA_ERR_TMT, /* communication timeout       */
-    SA_ERR_SYS, /* operating system error      */
-    SA_ERR_INT  /* internal error              */
+    SA_OK,      /* Everything Ok          */
+    SA_ERR_ARG, /* Invalid Argument       */
+    SA_ERR_USE, /* Invalid Use Or Context */
+    SA_ERR_MEM, /* Not Enough Memory      */
+    SA_ERR_MTC, /* Matching Failed        */
+    SA_ERR_EOF, /* End Of Communication   */
+    SA_ERR_TMT, /* Communication Timeout  */
+    SA_ERR_SYS, /* Operating System Error */
+    SA_ERR_INT  /* Internal Error         */
 } sa_rc_t;
 
 /* list of timeouts */
@@ -184,7 +184,7 @@
 sa_rc_t sa_send         (sa_t *sa, const char *buf, size_t buflen, size_t *bufdone, sa_addr_t *raddr);
 
 /* error handling operations */
-sa_rc_t sa_error        (sa_t *sa, sa_rc_t rv, char **str);
+char   *sa_error        (sa_rc_t rv);
 
 /* cleanup */
 #if defined(HAVE_CONFIG_H) && !defined(HAVE_SOCKLEN_T)

CVSTrac 2.0.1