|
Apache HTTPD
|
#include "apr_file_io.h"#include "apr_file_info.h"#include "apr_strings.h"#include "apr_errno.h"#include "apr_general.h"#include "apr_poll.h"#include "apr_lib.h"#include "testutil.h"Go to the source code of this file.
Classes | |
| struct | view_fileinfo |
Macros | |
| #define | FILENAME "data/file_datafile.txt" |
| #define | NEWFILENAME "data/new_datafile.txt" |
| #define | NEWFILEDATA "This is new text in a new file." |
Functions | |
| static void | finfo_equal (abts_case *tc, apr_finfo_t *f1, apr_finfo_t *f2) |
| static void | test_info_get (abts_case *tc, void *data) |
| static void | test_stat (abts_case *tc, void *data) |
| static void | test_stat_eq_finfo (abts_case *tc, void *data) |
| static void | test_buffered_write_size (abts_case *tc, void *data) |
| static void | test_mtime_set (abts_case *tc, void *data) |
| abts_suite * | testfileinfo (abts_suite *suite) |
Variables | |
| static const struct view_fileinfo | vfi [] |
| #define FILENAME "data/file_datafile.txt" |
Definition at line 26 of file testfileinfo.c.
| #define NEWFILENAME "data/new_datafile.txt" |
Definition at line 27 of file testfileinfo.c.
|
static |
< Type
< Size of the file
< Access Time
< Modification Time
< Creation or inode-changed time
< ->name in proper case
< User
< Group
< Inode
< Device
< Number of links
< Storage size consumed by the file
< all protections
Definition at line 51 of file testfileinfo.c.
< Open the file for reading
< Open the file for writing
< Create the file if not there
< Open the file and truncate to 0 length
< Open the file for buffered I/O
< Delete the file after close
< use OS's default permissions
<
< Size of the file
Definition at line 174 of file testfileinfo.c.
< Open the file for reading
< use OS's default permissions
<
< an atomic unix apr_stat()
Definition at line 106 of file testfileinfo.c.
< Open the file for reading
< Open the file for writing
< Create the file if not there
< Open the file and truncate to 0 length
< Open the file for buffered I/O
< Delete the file after close
< use OS's default permissions
<
< Modification Time
< Modification Time
Definition at line 204 of file testfileinfo.c.
< an atomic unix apr_stat()
Definition at line 131 of file testfileinfo.c.
< Open the file for reading
< use OS's default permissions
<
< an atomic unix apr_stat()
< an atomic unix apr_stat()
Definition at line 151 of file testfileinfo.c.
| abts_suite * testfileinfo | ( | abts_suite * | suite | ) |
Definition at line 251 of file testfileinfo.c.
|
static |