Re: Configd Dynamic Store Order ?
Re: Configd Dynamic Store Order ?
- Subject: Re: Configd Dynamic Store Order ?
- From: Allan Nathanson <email@hidden>
- Date: Tue, 22 May 2007 21:47:38 -0400
On May 22, 2007, at 6:47 PM, Mark Thomas wrote:
I was wondering if anybody knows whether the information stored in
configd
dynamic store, which you can see via scutil, is it kept in any
particular
order, or just in the order its built and updated ? - Present
impression
there is some order here ? E.g. Setup:/ & State:/
The information "stored" in configd is kept in a dictionary (i.e. no
order).
The "scutil" command sorts [some of] the information it reports.
As I'm writing some code and wonder if I can assume any order when
I do
my queries (especially when using reg expr's), or should make sure
the code
uses and follow's the network service GUID's ?
I would not assume any order. Also, I'm not sure I follow your
"network service GUID" comment. If you are asking if you should
follow the ordered list of service ID's returned by the
SCNetworkSetGetServiceOrder() API than the answer is YES.
- Allan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden