user_type Struct Reference

User authentication and directory specification. More...

#include <net.h>

Data Fields

char name [MAX_USERNAME_LEN]
 
char pass [MAX_PASS_LEN]
 
direntry_typedir [MAX_DIR]
 
uint16_t max_dir
 

Detailed Description

User authentication and directory specification. Used for HTTP or FTP server

{
{"einstein","emc2", &dir1, &dir2, &dir3, &dir4, EFS_TERMINATION},
{"han","solo", &dir9 ,EFS_TERMINATION },
EFS_TERMINATION
};
Examples:
FTPClient.c.

Field Documentation

name

User name

max. 30 characters, no spaces

pass

User password

max. 30 characters

dir

Directories

max. 200 directories

Examples:
HTTPdynamic.c, and HTTPjava.c.
uint16_t max_dir

Number of directories