/usr/include/clplumbing/cl_uuid.h is in libplumb2-dev 1.0.11+hg2754-1.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | /*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _CL_UUID_H_
#define _CL_UUID_H_
#include <glib.h>
typedef struct cl_uuid_s{
unsigned char uuid[16];
}cl_uuid_t;
void cl_uuid_copy(cl_uuid_t* dst, cl_uuid_t* src);
void cl_uuid_clear(cl_uuid_t* uu);
int cl_uuid_compare(const cl_uuid_t* uu1, const cl_uuid_t* uu2);
void cl_uuid_generate(cl_uuid_t* out);
int cl_uuid_is_null(cl_uuid_t* uu);
int cl_uuid_parse( char *in, cl_uuid_t* uu);
#define UU_UNPARSE_SIZEOF 37 /* Including NULL byte */
void cl_uuid_unparse(const cl_uuid_t* uu, char *out);
/* Suitable for ues as a GHashFunc from glib */
guint cl_uuid_g_hash(gconstpointer uuid_ptr);
/* Suitable for ues as a GEqualFunc from glib */
gboolean cl_uuid_g_equal(gconstpointer uuid_ptr_a, gconstpointer uuid_ptr_b);
#endif
|