/** * creates a nonce file in a user-readable location and writes a generated nonce to it. * Initializes the noncefile object. * * @param noncefile returns the nonce file location * @param error error details if creating the nonce file fails * @return TRUE iff the nonce file was successfully created */ dbus_bool_t _dbus_noncefile_create (DBusNonceFile *noncefile, DBusError *error) { return do_noncefile_create (noncefile, error, /*use_subdir=*/TRUE); }
/** * creates a nonce file in a user-readable location and writes a generated nonce to it * * @param noncefile_out returns the nonce file location * @param error error details if creating the nonce file fails * @return TRUE iff the nonce file was successfully created */ dbus_bool_t _dbus_noncefile_create (DBusNonceFile **noncefile_out, DBusError *error) { return do_noncefile_create (noncefile_out, error, /*use_subdir=*/FALSE); }