Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2007 11:10:42 GMT
From:      Fredrik Lindberg <fli@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122026 for review
Message-ID:  <200706201110.l5KBAggd025240@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122026

Change 122026 by fli@fli_genesis on 2007/06/20 11:09:46

	Add a record database (for self-claimed records),
	a configuration file parser and a variable substitution system.
	The variable system allows the use of variables in the
	configuration file, such as $(hostname) or $(ifaddrs4).
	These variables are updated when the system changes state,
	and changes are propagated out among variable consumers. 
	The currently supported variables are hostname, ifname,
	ifaddr4, ifaddrs4, ifaddr6 and ifaddrs6, where ifaddrs{4,6}
	expands into all currently configured addresses on an interface
	while ifaddr{4,6} only expands into the first.
	
	The record database uses the variable system to create real
	records which can be used as responses to queries from other peers.
	Some variables expand into several data lines, the database record
	is aware of this and clones records and resources when needed.

Affected files ...

.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/dbrec.c#1 add
.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/parse.y#1 add
.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/token.l#1 add
.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/var.c#1 add
.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/var.h#1 add

Differences ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706201110.l5KBAggd025240>