|
GnuCash
5.6-150-g038405b370+
|
globally unique ID User API More...
#include <glib-object.h>#include <stddef.h>Go to the source code of this file.
Data Structures | |
| struct | GncGUID |
| The type used to store guids in C. More... | |
Macros | |
| #define | GUID_DATA_SIZE 16 |
| #define | GNC_TYPE_GUID (gnc_guid_get_type()) |
| #define | GNC_VALUE_HOLDS_GUID(value) G_VALUE_HOLDS(value, GNC_TYPE_GUID) |
| #define | GUID_ENCODING_LENGTH 32 |
| Number of characters needed to encode a guid as a string not including the null terminator. More... | |
Functions | |
| GType | gnc_guid_get_type (void) |
| const GncGUID * | gnc_value_get_guid (const GValue *value) |
| gnc_value_get_guid More... | |
| void | guid_replace (GncGUID *guid) |
| Generate a new guid. More... | |
| GncGUID | guid_new_return (void) |
| Generate a new id. More... | |
| const GncGUID * | guid_null (void) |
| Returns a GncGUID which is guaranteed to never reference any entity. More... | |
| GncGUID * | guid_malloc (void) |
| Allocate memory for a GUID. More... | |
| GncGUID * | guid_new (void) |
| Allocate and construct a new GUID. More... | |
| void | guid_free (GncGUID *guid) |
| GncGUID * | guid_copy (const GncGUID *guid) |
| Returns a newly allocated GncGUID that matches the passed-in GUID. More... | |
| gchar * | guid_to_string (const GncGUID *guid) |
| The guid_to_string() routine returns a null-terminated string encoding of the id. More... | |
| gchar * | guid_to_string_buff (const GncGUID *guid, gchar *buff) |
| The guid_to_string_buff() routine puts a null-terminated string encoding of the id into the memory pointed at by buff. More... | |
| gboolean | string_to_guid (const gchar *string, GncGUID *guid) |
| Given a string, replace the given guid with the parsed one unless the given value is null. More... | |
| gboolean | guid_equal (const GncGUID *guid_1, const GncGUID *guid_2) |
| Given two GUIDs, return TRUE if they are non-NULL and equal. More... | |
| gint | guid_compare (const GncGUID *g1, const GncGUID *g2) |
| guint | guid_hash_to_guint (gconstpointer ptr) |
| Hash function for a GUID. More... | |
| gint | guid_g_hash_table_equal (gconstpointer guid_a, gconstpointer guid_b) |
| Equality function for two GUIDs in a GHashTable. More... | |
| GHashTable * | guid_hash_table_new (void) |
| Returns a GHashTable with <GUID*> as key and a <gpointer> as value and no destructor functions for key or value set. More... | |
globally unique ID User API
Definition in file guid.h.
1.8.14