Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

pcap_rmtauth Struct Reference
[Remote_struct]

This structure keeps the information needed to autheticate the user on a remote machine. More...

#include <remote-ext.h>

List of all members.

Public Attributes

int type
 Type of the authentication required.
char * username
 Zero-terminated string containing the username that has to be used on the remote machine for authentication.
char * password
 Zero-terminated string containing the password that has to be used on the remote machine for authentication.


Detailed Description

This structure keeps the information needed to autheticate the user on a remote machine.

The remote machine can either grant or refuse the access according to the information provided. In case the NULL authentication is required, both 'username' and 'password' can be NULL pointers.

This structure is meaningless if the source is not a remote interface; in that case, the functions which requires such a structure can accept a NULL pointer as well.

Definition at line 314 of file remote-ext.h.


Member Data Documentation

char* pcap_rmtauth::password
 

Zero-terminated string containing the password that has to be used on the remote machine for authentication.

This field is meaningless in case of the RPCAP_RMTAUTH_NULL authentication and it can be NULL.

Definition at line 341 of file remote-ext.h.

int pcap_rmtauth::type
 

Type of the authentication required.

In order to provide maximum flexibility, we can support different types of authentication based on the value of this 'type' variable. The currently supported authentication methods are defined into the Remote Authentication Methods Section.

Definition at line 325 of file remote-ext.h.

char* pcap_rmtauth::username
 

Zero-terminated string containing the username that has to be used on the remote machine for authentication.

This field is meaningless in case of the RPCAP_RMTAUTH_NULL authentication and it can be NULL.

Definition at line 333 of file remote-ext.h.


The documentation for this struct was generated from the following file:
Generated on Sun May 14 14:51:32 2006 by  doxygen 1.4.2