mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 17:18:02 +02:00
glib-aux: move NMUuid to "src/libnm-glib-aux/nm-uuid.h"
This commit is contained in:
parent
50add1c75a
commit
daebb11af8
2 changed files with 5 additions and 4 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "libnm-base/nm-base.h"
|
#include "libnm-base/nm-base.h"
|
||||||
|
#include "libnm-glib-aux/nm-uuid.h"
|
||||||
#include "nm-connection.h"
|
#include "nm-connection.h"
|
||||||
#include "nm-core-enum-types.h"
|
#include "nm-core-enum-types.h"
|
||||||
#include "nm-meta-setting-base.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);
|
NMUuid *_nm_utils_uuid_parse(const char *str, NMUuid *uuid);
|
||||||
char * _nm_utils_uuid_unparse(const NMUuid *uuid, char *out_str /*[37]*/);
|
char * _nm_utils_uuid_unparse(const NMUuid *uuid, char *out_str /*[37]*/);
|
||||||
NMUuid *_nm_utils_uuid_generate_random(NMUuid *out_uuid);
|
NMUuid *_nm_utils_uuid_generate_random(NMUuid *out_uuid);
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,8 @@
|
||||||
#ifndef __NM_UUID_H__
|
#ifndef __NM_UUID_H__
|
||||||
#define __NM_UUID_H__
|
#define __NM_UUID_H__
|
||||||
|
|
||||||
|
typedef struct _NMUuid {
|
||||||
|
guint8 uuid[16];
|
||||||
|
} NMUuid;
|
||||||
|
|
||||||
#endif /* __NM_UUID_H__ */
|
#endif /* __NM_UUID_H__ */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue