16 Jan
2012
16 Jan
'12
11:27 p.m.
Balazs Scheidler <bazsi@balabit.hu> writes:
If possible I'd avoid using another library, there'd a random based UUID generator function in modules/dbparser/patternize.c
Can you check if libuuid does anything more than that?
I'll have a look, thanks for the pointer!
+ +TEMPLATE_FUNCTION_SIMPLE(tf_uuid); + +static Plugin tfuuid_plugins[] = + { + TEMPLATE_FUNCTION_PLUGIN(tf_uuid, "UUID"), + TEMPLATE_FUNCTION_PLUGIN(tf_uuid, "uuid"), + };
why use two names? I'd prefer the lower case one.
Because my fingers were used to typing UUID, and I kept misspelling it all the time, and in the end I gave up, fingers won. :( -- |8]