Return-Path: Message-ID: <01e501c8bc60$e20638c0$6701a8c0@freqonedev> From: "David Stockwell" To: "BlueZ development" Date: Thu, 22 May 2008 18:09:24 -0500 MIME-Version: 1.0 Subject: [Bluez-devel] bluez hcid v3.31 main.conf Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1361134212==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --===============1361134212== Content-Type: multipart/alternative; boundary="----=_NextPart_000_01E2_01C8BC36.F71EDCF0" This is a multi-part message in MIME format. ------=_NextPart_000_01E2_01C8BC36.F71EDCF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On startup, hcid attempts to load_config(CONFIGDIR "main.conf"). = However, main.conf is missing. This may have been a recent change in = that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR "hcid.conf". When I attempt to substitute HCID_CONFIG_FILE to load_config, = load_config chokes on what is in that file. So, what is/should be contained in main.conf? Is the correct, or what = should it be? (In general, using a "magic filename" like "main.conf" is = not a great practice, and perhaps makes the code base harder to = maintain, especially when a #define with a similar purpose already = exists in the headers...) Thanks in advance, David Stockwell BTW, to those who are going to be there, enjoy Helsinki...one of the few = places I have not yet been! ------=_NextPart_000_01E2_01C8BC36.F71EDCF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
On startup, hcid attempts to = load_config(CONFIGDIR=20 "main.conf").  However, main.conf is missing.  This may have = been a=20 recent change in that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR=20 "hcid.conf".
 
When I attempt to substitute = HCID_CONFIG_FILE to=20 load_config, load_config chokes on what is in that file.
 
So, what is/should be contained in = main.conf? =20 Is the correct, or what should it be?  (In general, using a "magic=20 filename" like "main.conf" is not a great practice, and perhaps makes = the code=20 base harder to maintain, especially when a #define with a similar = purpose=20 already exists in the headers...)
 
Thanks in advance,
 
David Stockwell
 
BTW, to those who are going to be = there, enjoy=20 Helsinki...one of the few places I have not yet = been!
------=_NextPart_000_01E2_01C8BC36.F71EDCF0-- --===============1361134212== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1361134212== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1361134212==--