Refactor: Don't store indicator names
authorDenis Kenzior <denkenz@gmail.com>
Mon, 19 Oct 2009 21:58:13 +0000 (16:58 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 19 Oct 2009 21:58:13 +0000 (16:58 -0500)
commit0ca88b36e73e15f505d9543705bf1d332c412189
treeb0312d23f67c9ca120e26a4f9c66437a5d91d3cf
parentfb0c157c1199c5a46f87bfb7b38be0cd2b98243f
Refactor: Don't store indicator names

We already know the indicators we're interested in from the
specification, malloc/free-ing the indicator names is thus pointless.
Instead save off the indicator index positions in an array.  Parse the
current values instead of storing the unparsed list.
drivers/hfpmodem/hfp.h
plugins/hfp.c