Lines Matching defs:file

20 /*! \file
33 #include <isc/file.h>
111 * that could changed based on some configuration file, as opposed to the
207 { "file", 0 },
252 #define FILE_NAME(channel) (channel->destination.file.name)
253 #define FILE_STREAM(channel) (channel->destination.file.stream)
254 #define FILE_VERSIONS(channel) (channel->destination.file.versions)
255 #define FILE_MAXSIZE(channel) (channel->destination.file.maximum_size)
256 #define FILE_MAXREACHED(channel) (channel->destination.file.maximum_reached)
375 destination.file.stream = stderr;
376 destination.file.name = NULL;
377 destination.file.versions = ISC_LOG_ROLLNEVER;
378 destination.file.maximum_size = 0;
394 destination.file.stream = stderr;
395 destination.file.name = NULL;
396 destination.file.versions = ISC_LOG_ROLLNEVER;
397 destination.file.maximum_size = 0;
745 * The file name is copied because greatest_version wants
750 isc_mem_strdup(mctx, destination->file.name);
752 FILE_VERSIONS(channel) = destination->file.versions;
753 FILE_MAXSIZE(channel) = destination->file.maximum_size;
759 FILE_STREAM(channel) = destination->file.stream;
1159 * It is safe to DE_CONST the file.name because it was copied
1184 * Replace the file separator if it was taken out.
1234 * though the file names are 0 based, so an oldest log of log.1
1270 "unable to remove log file '%s.%d': %s",
1290 "unable to rename log file '%s.%d' to "
1304 "unable to rename log file '%s' to '%s.0': %s",
1310 syslog(LOG_ERR, "unable to remove log file '%s': %s",
1333 * Determine type of file; only regular files will be
1334 * version renamed, and only if the base file exists
1656 * If the file can be rolled, OR
1657 * If the file no longer exists, OR
1658 * If the file is less than the maximum size,
1714 * If the file now exceeds its maximum size