SERVER Struct Reference

Variables associated with a server. More...


Data Fields

gchar * exportname
 (unprocessed) filename of the file we're exporting
off_t expected_size
 size of the exported file as it was told to us through configuration
unsigned int port
 port we're exporting this file at
char * authname
 filename of the authorization file
int flags
 flags associated with this exported file
unsigned int timeout
 how long a connection may be idle (0=forever)
int socket
 The socket of this server.
VIRT_STYLE virtstyle
 The style of virtualization, if any.
uint8_t cidrlen
 The length of the mask when we use CIDR-style virtualization.


Detailed Description

Variables associated with a server.

Definition at line 169 of file nbd-server.c.


Field Documentation

gchar* SERVER::exportname

(unprocessed) filename of the file we're exporting

Definition at line 170 of file nbd-server.c.

Referenced by cmdline(), dump_section(), parse_cfile(), remove_server(), and set_peername().

off_t SERVER::expected_size

size of the exported file as it was told to us through configuration

Definition at line 171 of file nbd-server.c.

Referenced by cmdline(), dump_section(), parse_cfile(), and setupexport().

unsigned int SERVER::port

port we're exporting this file at

Definition at line 173 of file nbd-server.c.

Referenced by cmdline(), daemonize(), dump_section(), main(), parse_cfile(), and setup_serve().

char* SERVER::authname

filename of the authorization file

Definition at line 174 of file nbd-server.c.

Referenced by authorized_client(), cmdline(), dump_section(), parse_cfile(), and remove_server().

int SERVER::flags

flags associated with this exported file

Definition at line 175 of file nbd-server.c.

Referenced by cmdline(), dump_section(), expread(), expwrite(), mainloop(), parse_cfile(), serveconnection(), and setupexport().

unsigned int SERVER::timeout

how long a connection may be idle (0=forever)

Definition at line 176 of file nbd-server.c.

Referenced by cmdline(), dump_section(), mainloop(), and parse_cfile().

int SERVER::socket

The socket of this server.

Definition at line 178 of file nbd-server.c.

Referenced by serveloop(), and setup_serve().

VIRT_STYLE SERVER::virtstyle

The style of virtualization, if any.

Definition at line 179 of file nbd-server.c.

Referenced by parse_cfile(), and set_peername().

uint8_t SERVER::cidrlen

The length of the mask when we use CIDR-style virtualization.

Definition at line 180 of file nbd-server.c.

Referenced by parse_cfile(), and set_peername().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 21 19:49:46 2007 for Network Block Device by  doxygen 1.5.3