#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 |
| CONN * | Conn |
| CONN * | Conn2 |
| 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}} |
| DSI * | Dsi |
| 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 [] |
| #define FN | ( | a | ) |
| #define FN_N | ( | a | ) |
| EXT_FN | ( | test_cleartext_login | ) |
| EXT_FN | ( | test_connection_limit | ) |
| EXT_FN | ( | test_dsi_command_roundtrip | ) |
| 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_guest_login | ) |
| EXT_FN | ( | test_logincont_roundtrip | ) |
| EXT_FN | ( | test_loginext_guest_direct | ) |
|
static |
| int main | ( | int | ac, |
| char ** | av ) |
|
static |
|
static |
| void usage | ( | char * | av0 | ) |
| CONN* Conn |
| CONN* Conn2 |
| char Data[300000] = "" |
| DSI* Dsi |
| int EmptyVol = 0 |
| int ExitCode = 0 |
| int FailCount = 0 |
| char FailedTests[1024][256] = {{0}} |
| int List = 0 |
| int Mac = 0 |
| int NotTestedCount = 0 |
| char NotTestedTests[1024][256] = {{0}} |
| int PassCount = 0 |
| char* Password = "" |
| char* Path |
| int Port = DSI_AFPOVERTCP_PORT |
| char* Server = "localhost" |
| char* Server2 |
| int SkipCount = 0 |
| char SkippedTests[1024][256] = {{0}} |
| char* Test |
|
static |
| char* User |
| char* User2 |
| char* vers = "AFP3.4" |
| int Version = 34 |
| char* Vol = "" |
| uint16_t VolID |