chiark / gitweb /
Synchronize with trunk
[disorder] / lib / basen.h
index 717f2eaeb48396fa887dc3b3883d9aeb9ceef2a1..c1a60f0c7835c728b649d0a95048e6186c0057e7 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef BASEN_H
 #define BASEN_H
 
-int basen(unsigned long *v,
+int basen(uint32_t *v,
          int nwords,
          char buffer[],
          size_t bufsize,
@@ -29,6 +29,11 @@ int basen(unsigned long *v,
  * Returns 0 on success or -1 on overflow.
  */
 
+int nesab(uint32_t *v,
+          int nwords,
+          const char *s,
+          unsigned base);
+
 #endif /* BASEN_H */
 
 /*