dbus-uuidgen implementation
[D-Bus secret internal implementation details]

Functions for dbus-uuidgen binary. More...

Functions

dbus_bool_t dbus_internal_do_not_use_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_internal_do_not_use_create_uuid (char **uuid_p)
 For use by the dbus-uuidgen binary ONLY, do not call this.

Detailed Description

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.


Function Documentation

dbus_bool_t dbus_internal_do_not_use_create_uuid ( char **  uuid_p  ) 

For use by the dbus-uuidgen binary ONLY, do not call this.

We can and will change this function without modifying the libdbus soname.

Parameters:
uuid_p out param to return the uuid
Returns:
FALSE if no memory

Definition at line 119 of file dbus-uuidgen.c.

References _dbus_generate_uuid(), and NULL.

dbus_bool_t dbus_internal_do_not_use_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.

Parameters:
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
Returns:
FALSE if error is set

Definition at line 80 of file dbus-uuidgen.c.

References _dbus_read_local_machine_uuid(), _dbus_read_uuid_file(), _dbus_string_init_const(), FALSE, and TRUE.


Generated on Tue Apr 15 15:54:12 2008 for D-Bus by  doxygen 1.5.1