2009-07-23 18:22:24 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "uuid.h"
|
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
char *uuid;
|
2009-07-24 18:21:50 +00:00
|
|
|
get_uuid(uuid);
|
2009-07-23 18:22:24 +00:00
|
|
|
if(strlen(uuid) != 36)
|
|
|
|
{
|
|
|
|
printf("uuid is not 37 characters long %s.\n", uuid);
|
|
|
|
exit(-1);
|
|
|
|
}
|
|
|
|
exit(0);
|
|
|
|
}
|