Apache HTTPD
Functions
testfilecopy.c File Reference
#include "testutil.h"
#include "apr_file_io.h"
#include "apr_file_info.h"
#include "apr_errno.h"
#include "apr_pools.h"

Go to the source code of this file.

Functions

static void copy_helper (abts_case *tc, const char *from, const char *to, apr_fileperms_t perms, int append, apr_pool_t *p)
 
static void copy_short_file (abts_case *tc, void *data)
 
static void copy_over_existing (abts_case *tc, void *data)
 
static void append_nonexist (abts_case *tc, void *data)
 
static void append_exist (abts_case *tc, void *data)
 
abts_suitetestfilecopy (abts_suite *suite)
 

Function Documentation

◆ append_exist()

static void append_exist ( abts_case tc,
void *  data 
)
static

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

Definition at line 105 of file testfilecopy.c.

◆ append_nonexist()

static void append_nonexist ( abts_case tc,
void *  data 
)
static

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

Definition at line 92 of file testfilecopy.c.

◆ copy_helper()

static void copy_helper ( abts_case tc,
const char from,
const char to,
apr_fileperms_t  perms,
int  append,
apr_pool_t p 
)
static

< Size of the file

< Size of the file

< Size of the file

Definition at line 23 of file testfilecopy.c.

◆ copy_over_existing()

static void copy_over_existing ( abts_case tc,
void *  data 
)
static

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

Definition at line 71 of file testfilecopy.c.

◆ copy_short_file()

static void copy_short_file ( abts_case tc,
void *  data 
)
static

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

Definition at line 58 of file testfilecopy.c.

◆ testfilecopy()

abts_suite * testfilecopy ( abts_suite suite)

Definition at line 126 of file testfilecopy.c.