summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-01-19 17:58:45 -0600
committer@syxhe <https://t.me/syxhe>2025-01-19 17:58:45 -0600
commit2f66e8678971ba0340a96d811ced405d75dbb114 (patch)
tree85bbeb6d86e8abecd18782f0be18151c57bb8b27 /src/shared.h
parent0c19d693bfe1dd3071c71d9d95f68c0db5cc75d0 (diff)
Write example code for generating, storing, and verifying a password
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared.h b/src/shared.h
index 620ec82..dce02fc 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -17,4 +17,7 @@ void* xcalloc(size_t nmemb, size_t size);
17// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XALLOC_EXIT_ON_ERROR___` 17// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XALLOC_EXIT_ON_ERROR___`
18void* xreallocarray(void *ptr, size_t nmemb, size_t size); 18void* xreallocarray(void *ptr, size_t nmemb, size_t size);
19 19
20// Read the entire contents of a file descriptor into a malloc()'ed buffer
21int readwholebuffer(char **str, unsigned long int initsize, int fd);
22
20#endif \ No newline at end of file 23#endif \ No newline at end of file