glib-aux: move NMUuid to "src/libnm-glib-aux/nm-uuid.h"

This commit is contained in:
Thomas Haller 2021-05-02 09:50:32 +02:00
parent 50add1c75a
commit daebb11af8
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 5 additions and 4 deletions

View file

@ -21,6 +21,7 @@
#endif
#include "libnm-base/nm-base.h"
#include "libnm-glib-aux/nm-uuid.h"
#include "nm-connection.h"
#include "nm-core-enum-types.h"
#include "nm-meta-setting-base.h"
@ -351,10 +352,6 @@ gboolean _nm_utils_check_module_file(const char * name,
/*****************************************************************************/
typedef struct _NMUuid {
guchar uuid[16];
} NMUuid;
NMUuid *_nm_utils_uuid_parse(const char *str, NMUuid *uuid);
char * _nm_utils_uuid_unparse(const NMUuid *uuid, char *out_str /*[37]*/);
NMUuid *_nm_utils_uuid_generate_random(NMUuid *out_uuid);

View file

@ -3,4 +3,8 @@
#ifndef __NM_UUID_H__
#define __NM_UUID_H__
typedef struct _NMUuid {
guint8 uuid[16];
} NMUuid;
#endif /* __NM_UUID_H__ */