# Any line that begins with a '#' is ignored.

# Blank lines are also ignored.

# A definition begins with uppercase text.  Currently, there are
# three types of definition object: database, nrtm (near-real-time 
# mirror and source).  Each object is identified by a name which comes
# immediately after the object type and is on the same line.  This
# name is also in uppercase text.  Thus:

# This is the definition of a database.
DATABASE MYDB
# The name of the machine on which the database runs.
host: myBox	
# The MySQL database listens on this port.
port: 3306
# The database user.
user: me
# The password of this database.
password:       myPasswd
/DATABASE

# You can have more than one definition of a database
#
DATABASE YOURDB
# The name of the machine on which the database runs.
host: yourBox	
# The MySQL database listens on this port.
port: 3306
# The database user.
user: you
# The password of this database.
password:       yourPswd
/DATABASE


# Definitions end with /<object type> at the beginning of a line.
# Comments can only be at the beginning of a line.  Currently, they
# cannot be inside a definition.

# This is the definition of a near-real-time mirror client:
#
NRTM    SPIEGEL
# The name of the machine on which the server runs.
host:   orange
# The port number on which the mirror-server listens.
port: 4444
# The delay (in seconds) between requests to the server for updates.
delay:  60
# The version number of the NRTM protocol (typically 1).
protocolVersion: 1
/NRTM


# This is the definition of another near-real-time mirror client:
#
NRTM GLASS
# The name of the machine on which the server runs.
host:   lemon
# The port number on which the mirror-server listens.
port: 4444
# The delay (in seconds) between requests to the server for updates.
delay:  120
# The version number of the NRTM protocol (typically 1).
protocolVersion: 1
/NRTM

# The definition of sources must always be after the definitions
# of databases and mirrors.  However, databases and mirrors can
# be defined in any order.  A source can use any predefined database
# or mirror.
#

# Definition of source "TEST"
# 
SOURCE  TEST
# It uses the "MYDB" database (defined above).
database: MYDB
# Operation Mode: 0 => static snapshot (no updates possible), 2 update server 
# (processes requests from DBupdate), 4 NRTM client.
opMode: 0
# The update port; i.e. the port on which the RIP server listens for
# updates to this source.
updPort:        11111
# Can this database be updated (y/n) ???
canupd: n
# Is this the default look-up source (y/n) ???
deflook:  n
# The name of the near-real-time mirror used by this database.
nrtm: SPIEGEL
# The end of the definition of this source.
/SOURCE

# Definition of source "PRODUCTION"
# 
SOURCE  PRODUCTION
# It uses the "YOURDB" database (defined above).
database: YOURDB
# Operation Mode: 0 => static snapshot (no updates possible), 2 update server 
# (processes requests from DBupdate), 4 NRTM client.
opMode: 2
# The update port; i.e. the port on which the RIP server listens for
# updates to this source.
updPort:        123456
# Can this database be updated (y/n) ???
canupd: y
# Is this the default look-up source (y/n) ???
deflook:  y
# The name of the near-real-time mirror used by this database.
nrtm: SPIEGEL
# The end of the definition of this source.
/SOURCE

