|
D-Bus 1.16.2
|
Functions for dbus-uuidgen binary. More...
Functions | |
| dbus_bool_t | _dbus_get_uuid (const char *filename, char **uuid_p, dbus_bool_t create_if_not_found, DBusError *error) |
| For use by the dbus-uuidgen binary ONLY, do not call this. | |
| dbus_bool_t | _dbus_create_uuid (char **uuid_p, DBusError *error) |
Functions for dbus-uuidgen binary.
These are not considered part of the ABI, and if you call them you will get screwed by future changes.
| dbus_bool_t _dbus_create_uuid | ( | char ** | uuid_p, |
| DBusError * | error ) |
| uuid_p | out param to return the uuid |
| error | location to store reason for failure |
Definition at line 121 of file dbus-uuidgen.c.
References _dbus_generate_uuid(), and FALSE.
| dbus_bool_t _dbus_get_uuid | ( | const char * | filename, |
| char ** | uuid_p, | ||
| dbus_bool_t | create_if_not_found, | ||
| DBusError * | error ) |
For use by the dbus-uuidgen binary ONLY, do not call this.
We can and will change this function without modifying the libdbus soname.
| filename | the file or NULL for the machine ID file |
| uuid_p | out param to return the uuid |
| create_if_not_found | whether to create it if not already there |
| error | error return |
Definition at line 85 of file dbus-uuidgen.c.
References _dbus_read_local_machine_uuid(), _dbus_read_uuid_file(), _dbus_string_init_const(), FALSE, and TRUE.