OSSP CVS Repository

ossp - Difference in ossp-pkg/act/act_hash.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/act/act_hash.c 1.3 -> 1.4

--- act_hash.c   2000/08/18 15:58:08     1.3
+++ act_hash.c   2000/08/20 13:57:53     1.4
@@ -134,6 +134,17 @@
 int act_hash_size(act_hash_t *h, long *pb, long *pe)
 {
     insist(h != NULL, NULL);
+    insist(pb != NULL, NULL);
+    insist(pe != NULL, NULL);
     return method(h, size)(h->h_ctx, h->h_data, pb, pe);
 }
 
+/* return summary of current internal status */
+int act_hash_status(act_hash_t *h, char *ps, int ns)
+{
+    insist(h != NULL, NULL);
+    insist(ps != NULL, NULL);
+    insist(ns > 0, NULL);
+    return method(h, status)(h->h_ctx, h->h_data, ps, ns);
+}
+

CVSTrac 2.0.1