netatalk  4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
logintest.c File Reference
#include <dlfcn.h>
#include <getopt.h>
#include "afpclient.h"
#include "afpcmd.h"
#include "afphelper.h"
#include "testhelper.h"

Data Structures

struct  test_fn

Macros

#define FN(a)
#define EXT_FN(a)
#define FN_N(a)

Functions

 EXT_FN (test_dsi_getstatus_no_session)
 EXT_FN (test_dsi_open_close_session)
 EXT_FN (test_dsi_open_session_ignore_param)
 EXT_FN (test_dsi_command_roundtrip)
 EXT_FN (test_connection_limit)
 EXT_FN (test_guest_login)
 EXT_FN (test_cleartext_login)
 EXT_FN (test_loginext_guest_direct)
 EXT_FN (test_logincont_roundtrip)
static void list_tests (void)
static void run_one (char *name)
static void run_all (void)
void usage (char *av0)
int main (int ac, char **av)

Variables

uint16_t VolID
CONNConn
CONNConn2
int ExitCode = 0
int PassCount = 0
int FailCount = 0
int SkipCount = 0
int NotTestedCount = 0
char FailedTests [1024][256] = {{0}}
char NotTestedTests [1024][256] = {{0}}
char SkippedTests [1024][256] = {{0}}
DSIDsi
char Data [300000] = ""
char * Server = "localhost"
char * Server2
int Port = DSI_AFPOVERTCP_PORT
char * Password = ""
char * Vol = ""
char * User
char * User2
char * Path
int Version = 34
int List = 0
int Mac = 0
int EmptyVol = 0
char * Test
char * vers = "AFP3.4"
static struct test_fn Test_list []

Macro Definition Documentation

◆ EXT_FN

#define EXT_FN ( a)
Value:
extern void FN(a)(void)
#define FN(a)
Definition afparg.c:11

◆ FN

#define FN ( a)
Value:
a

◆ FN_N

#define FN_N ( a)
Value:
{ # a, FN(a) },

Function Documentation

◆ EXT_FN() [1/9]

◆ EXT_FN() [2/9]

◆ EXT_FN() [3/9]

◆ EXT_FN() [4/9]

◆ EXT_FN() [5/9]

◆ EXT_FN() [6/9]

◆ EXT_FN() [7/9]

EXT_FN ( test_guest_login )

◆ EXT_FN() [8/9]

◆ EXT_FN() [9/9]

◆ list_tests()

void list_tests ( void )
static

◆ main()

int main ( int ac,
char ** av )

◆ run_all()

void run_all ( void )
static

◆ run_one()

void run_one ( char * name)
static

◆ usage()

void usage ( char * av0)

Variable Documentation

◆ Conn

CONN* Conn

◆ Conn2

CONN* Conn2

◆ Data

char Data[300000] = ""

◆ Dsi

DSI* Dsi

◆ EmptyVol

int EmptyVol = 0

◆ ExitCode

int ExitCode = 0

◆ FailCount

int FailCount = 0

◆ FailedTests

char FailedTests[1024][256] = {{0}}

◆ List

int List = 0

◆ Mac

int Mac = 0

◆ NotTestedCount

int NotTestedCount = 0

◆ NotTestedTests

char NotTestedTests[1024][256] = {{0}}

◆ PassCount

int PassCount = 0

◆ Password

char* Password = ""

◆ Path

char* Path

◆ Port

int Port = DSI_AFPOVERTCP_PORT

◆ Server

char* Server = "localhost"

◆ Server2

char* Server2

◆ SkipCount

int SkipCount = 0

◆ SkippedTests

char SkippedTests[1024][256] = {{0}}

◆ Test

char* Test

◆ Test_list

struct test_fn Test_list[]
static
Initial value:
= {
{ NULL, NULL },
}
#define FN_N(a, b)
Definition afparg.c:31
void test_logincont_roundtrip(void)
Definition logintest_dsi.c:437
#define NULL
Definition utf8util.c:47

◆ User

char* User

◆ User2

char* User2

◆ vers

char* vers = "AFP3.4"

◆ Version

int Version = 34

◆ Vol

char* Vol = ""

◆ VolID

uint16_t VolID