config values in hex.....

"fred" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <022501c51ad2$4c181c30$0401a8c0@FRED4>
I would like to enter config values in hex sometimes (i added varios bit flag debug values in our smpp i/f)
entering hex values so much more understandable Eg debugbits = 0x0107

so whats the best way ? have octstr_parse_long  see 0x in front and change the base to 16
or
cfg_get_integer  checks for 0x in front and calls octstr_parse_long   with base 16

decisions..decisions...

and would anyone be interested in the patch ... i think its a missing deficiency anyways.....

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.