Apache HTTPD
Functions
testargs.c File Reference
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_getopt.h"
#include "apr_strings.h"
#include "testutil.h"

Go to the source code of this file.

Functions

static void format_arg (char *str, char option, const char *arg)
 
static void unknown_arg (void *str, const char *err,...)
 
static void no_options_found (abts_case *tc, void *data)
 
static void no_options (abts_case *tc, void *data)
 
static void required_option (abts_case *tc, void *data)
 
static void required_option_notgiven (abts_case *tc, void *data)
 
static void optional_option (abts_case *tc, void *data)
 
static void optional_option_notgiven (abts_case *tc, void *data)
 
abts_suitetestgetopt (abts_suite *suite)
 

Function Documentation

◆ format_arg()

static void format_arg ( char str,
char  option,
const char arg 
)
static

Definition at line 23 of file testargs.c.

◆ no_options()

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

Definition at line 72 of file testargs.c.

◆ no_options_found()

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

Definition at line 42 of file testargs.c.

◆ optional_option()

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

Definition at line 162 of file testargs.c.

◆ optional_option_notgiven()

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

Definition at line 191 of file testargs.c.

◆ required_option()

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

Definition at line 104 of file testargs.c.

◆ required_option_notgiven()

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

Definition at line 133 of file testargs.c.

◆ testgetopt()

abts_suite * testgetopt ( abts_suite suite)

Definition at line 224 of file testargs.c.

◆ unknown_arg()

static void unknown_arg ( void *  str,
const char err,
  ... 
)
static

Definition at line 33 of file testargs.c.