glitchedhttps
Classes | Functions
glitchedhttps_guid.h File Reference

GUID/UUID generator. More...

#include "glitchedhttps_api.h"
#include <uuid/uuid.h>
Include dependency graph for glitchedhttps_guid.h:

Go to the source code of this file.

Classes

struct  glitchedhttps_guid
 Struct containing the output from a call to the glitchedhttps_new_guid() function. More...
 

Functions

GLITCHEDHTTPS_API struct glitchedhttps_guid glitchedhttps_new_guid (int lowercase, int hyphens)
 

Detailed Description

GUID/UUID generator.

Function Documentation

◆ glitchedhttps_new_guid()

GLITCHEDHTTPS_API struct glitchedhttps_guid glitchedhttps_new_guid ( int  lowercase,
int  hyphens 
)

Generates a new GUID (a.k.a. UUID).

Parameters
lowercaseShould the GUID be lowercase or UPPERCASE only? 0 for false - anything else for true
hyphensShould the GUID contain hyphen separators? 0 for false - anything else for true
Returns
The glitchedhttps_guid