Apache HTTPD
Macros | Functions | Variables
testpath.c File Reference
#include "testutil.h"
#include "apr_file_info.h"
#include "apr_errno.h"
#include "apr_pools.h"
#include "apr_tables.h"

Go to the source code of this file.

Macros

#define PSEP   ":"
 
#define DSEP   "/"
 
#define PX   ""
 
#define P1   "first path"
 
#define P2   "second" DSEP "path"
 
#define P3   "th ird" DSEP "path"
 
#define P4   "fourth" DSEP "pa th"
 
#define P5   "fifthpath"
 

Functions

static void list_split_multi (abts_case *tc, void *data)
 
static void list_split_single (abts_case *tc, void *data)
 
static void list_merge_multi (abts_case *tc, void *data)
 
static void list_merge_single (abts_case *tc, void *data)
 
abts_suitetestpath (abts_suite *suite)
 

Variables

static const charparts_in [] = { "first path" , "second" "/" "path" , "th ird" "/" "path" , "" , "fourth" "/" "pa th" , "fifthpath" }
 
static const charpath_in = "first path" ":" "second" "/" "path" ":" "th ird" "/" "path" ":" "" ":" "fourth" "/" "pa th" ":" "fifthpath"
 
static const int parts_in_count = sizeof(parts_in)/sizeof(*parts_in)
 
static const charparts_out [] = { "first path" , "second" "/" "path" , "th ird" "/" "path" , "fourth" "/" "pa th" , "fifthpath" }
 
static const charpath_out = "first path" ":" "second" "/" "path" ":" "th ird" "/" "path" ":" "fourth" "/" "pa th" ":" "fifthpath"
 
static const int parts_out_count = sizeof(parts_out)/sizeof(*parts_out)
 

Macro Definition Documentation

◆ DSEP

#define DSEP   "/"

Definition at line 28 of file testpath.c.

◆ P1

#define P1   "first path"

Definition at line 32 of file testpath.c.

◆ P2

#define P2   "second" DSEP "path"

Definition at line 33 of file testpath.c.

◆ P3

#define P3   "th ird" DSEP "path"

Definition at line 34 of file testpath.c.

◆ P4

#define P4   "fourth" DSEP "pa th"

Definition at line 35 of file testpath.c.

◆ P5

#define P5   "fifthpath"

Definition at line 36 of file testpath.c.

◆ PSEP

#define PSEP   ":"

Definition at line 27 of file testpath.c.

◆ PX

#define PX   ""

Definition at line 31 of file testpath.c.

Function Documentation

◆ list_merge_multi()

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

Definition at line 83 of file testpath.c.

◆ list_merge_single()

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

Definition at line 101 of file testpath.c.

◆ list_split_multi()

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

Definition at line 46 of file testpath.c.

◆ list_split_single()

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

Definition at line 61 of file testpath.c.

◆ testpath()

abts_suite * testpath ( abts_suite suite)

Definition at line 127 of file testpath.c.

Variable Documentation

◆ parts_in

const char* parts_in[] = { "first path" , "second" "/" "path" , "th ird" "/" "path" , "" , "fourth" "/" "pa th" , "fifthpath" }
static

Definition at line 38 of file testpath.c.

◆ parts_in_count

const int parts_in_count = sizeof(parts_in)/sizeof(*parts_in)
static

Definition at line 40 of file testpath.c.

◆ parts_out

const char* parts_out[] = { "first path" , "second" "/" "path" , "th ird" "/" "path" , "fourth" "/" "pa th" , "fifthpath" }
static

Definition at line 42 of file testpath.c.

◆ parts_out_count

const int parts_out_count = sizeof(parts_out)/sizeof(*parts_out)
static

Definition at line 44 of file testpath.c.

◆ path_in

const char* path_in = "first path" ":" "second" "/" "path" ":" "th ird" "/" "path" ":" "" ":" "fourth" "/" "pa th" ":" "fifthpath"
static

Definition at line 39 of file testpath.c.

◆ path_out

const char* path_out = "first path" ":" "second" "/" "path" ":" "th ird" "/" "path" ":" "fourth" "/" "pa th" ":" "fifthpath"
static

Definition at line 43 of file testpath.c.