Lines Matching refs:FILE
1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
25 // major sections of this file are modified code from libassuan, (C) FSF
93 * reads the nonce from the nonce file and stores it in a string
95 * @param fname the file to read the nonce from
103 FILE *fp;
111 _dbus_verbose ("reading nonce from file: %s\n", _dbus_string_get_const_data (fname));
121 dbus_set_error (error, DBUS_ERROR_FILE_NOT_FOUND, "Could not read nonce from file %s", _dbus_string_get_const_data (fname));
183 * @param fd the file descriptor to write the nonce data to (usually a socket)
322 * creates a nonce file in a user-readable location and writes a generated nonce to it
324 * @param noncefile returns the nonce file location
325 * @param error error details if creating the nonce file fails
326 * @return TRUE iff the nonce file was successfully created
338 * @param noncefile the nonce file to delete. Contents will be freed.
339 * @param error error details if the nonce file could not be deleted
356 * creates a nonce file in a user-readable location and writes a generated nonce to it.
359 * @param noncefile returns the nonce file location
360 * @param error error details if creating the nonce file fails
361 * @return TRUE iff the nonce file was successfully created
373 * @param noncefile the nonce file to delete. Contents will be freed.
374 * @param error error details if the nonce file could not be deleted
392 * returns the absolute file path of the nonce file
395 * @return the absolute path of the nonce file
405 * reads data from a file descriptor and checks if the received data matches
408 * @param fd the file descriptor to read the nonce from
409 * @param noncefile the nonce file to check the received data against
411 * @return TRUE iff a nonce could be successfully read from the file descriptor
412 * and matches the nonce from the given nonce file