X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..7f7c38193f1f45a70710bc922d110bf08022c175:/lib/basen.h?ds=sidebyside diff --git a/lib/basen.h b/lib/basen.h index 717f2ea..c1a60f0 100644 --- a/lib/basen.h +++ b/lib/basen.h @@ -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 */ /*