aboutsummaryrefslogtreecommitdiffstats
path: root/include/rin/uuid.h
blob: 760a7fdbcfd6a568122c1d19c35510b5909fb9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: LGPL-2.1-only */

/*
 * The Rin Library – uuid handling module
 *
 * Copyright (C) 2019 Gediminas Jakutis
 */

#ifndef LIBRIN_UUID_INCLUDED
#define LIBRIN_UUID_INCLUDED

#define PRIUUID "%.2hhx%.2hhx%.2hhx%.2hhx-%.2hhx%.2hhx-%.2hhx%.2hhx-" \
	"%.2hhx%.2hhx-%.2hhx%.2hhx%.2hhx%.2hhx%.2hhx%.2hhx"
#define PRIUUIDARG(a) a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8], \
		a[9], a[10], a[11], a[12], a[13], a[14], a[15]

#endif /* LIBRIN_UUID_INCLUDED */