Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

global_config Struct Reference

This structure contains the main server's configuration. More...

#include <server_config.h>


Data Fields

unsigned long int sql_expiration_security_delay
 Some SQL functions requires a security delay. This delay assures that the operation has enough time to complete. This value represents the security delay for all SQL functions that requires this security. Functions are:
  • try_reserve_ip_from_pool
.


char log_file [FILE_NAME_SIZE]
 Path to the server's main log file.

char csv_file [FILE_NAME_SIZE]
 Path to the server's CSV file.

char debug_file [FILE_NAME_SIZE]
 Path to the file used by the server to log incoming and outcomming DHCP packets. Only welle formated packets are logged.

char sync_dump [FILE_NAME_SIZE]
 Path to the file used to synchronize access to the dump file.

int debug
 This flag represents the verbosity level.

char working_dir [FILE_NAME_SIZE]
 Path to the process' working directory.

char dhcp_bind_ip [HOST_NAME_MAX_SIZE]
 Host name (or IP address) associated to the network interface used by the DHCP server.

char pid_file [FILE_NAME_SIZE]
 Path to the process' PID file.

int dumper_mode
 Flag that tells the server wether it should log incoming and outcoming DHCP packets. Values could be:
  • 0: Do not log any packets.
  • 1: Log all incoming and outcoming DHCP packets.
  • 2: High verbosity debug.
.


char server_ip_seen_by_client [MAX_IP_ADDRESS_STR_SIZE]
 IP address of the DHCP server, as seen by the client.

int broadcast_mode
 This flag defines whether the server uses broadcats for responses.
  • 0: The server does not use broadcasts (always unicats).
  • 1: The server always yse broadcats.
.


char deamon_user_id [MAX_UID_SIZE]
 Deamon's user ID.

char deamon_group_id [MAX_GID_SIZE]
 Deamon's group ID.

char dummy_ip [MAX_IP_ADDRESS_STR_SIZE]
 IP address sent to the client whenever the DHCP can not respond.

int log_size_management
 This flag defines wether the server must manage the size of the log file.


Detailed Description

This structure contains the main server's configuration.

Definition at line 53 of file server_config.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 19 12:31:07 2006 for MyDhcp_V2 by doxygen1.2.15