ce3b570cf3c96344383503946cd71e05a2e29870 kent Fri Jun 9 11:57:35 2017 -0700 Starting a local uuid module with makeUuidString. diff --git src/inc/uuid.h src/inc/uuid.h new file mode 100644 index 0000000..d03fc92 --- /dev/null +++ src/inc/uuid.h @@ -0,0 +1,11 @@ +/* uuid - stuff to make working with uuid's a little bit easier. These are the things + * that look like 08965457-c5aa-43de-894c-cc01483a5691 in ascii, or as 16 unsigned chars + * in binary. Uuid stands for universally unique ID, and though they are a bit ugly + * and hard to type or even cut an paste, they do make very effective nonredundant IDs. + * + * If you use this file you need to add -luuid to your link line. */ + +#include <uuid/uuid.h> + +char *makeUuidString(char buf[37]); +/* Generate a random uuid and put it in the usual hex-plus-dashes form */