glitchedhttps
glitchedhttps_guid.h
Go to the documentation of this file.
1/*
2 Copyright 2020 Raphael Beck
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
22#ifndef GLITCHEDHTTPS_GUID_H
23#define GLITCHEDHTTPS_GUID_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include "glitchedhttps_api.h"
30
31#ifdef _WIN32
32#include <objbase.h>
33#else
34#include <uuid/uuid.h>
35#endif
36
42{
44 char string[36 + 1];
45};
46
53GLITCHEDHTTPS_API struct glitchedhttps_guid glitchedhttps_new_guid(int lowercase, int hyphens);
54
55#ifdef __cplusplus
56} // extern "C"
57#endif
58
59#endif // GLITCHEDHTTPS_GUID_H
API macro for dllexport/dllimport.
GLITCHEDHTTPS_API struct glitchedhttps_guid glitchedhttps_new_guid(int lowercase, int hyphens)
Struct containing the output from a call to the glitchedhttps_new_guid() function.
Definition: glitchedhttps_guid.h:42