Add uri_str_to_bytes(), byte_array_dup(), and byte_array_equal()
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Jan 2007 02:42:34 +0000 (02:42 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 11 Jan 2007 02:42:34 +0000 (02:42 +0000)
commit004eab8e5fd3d8019d11be9ce92990873a7a787d
tree79057e0a71f586e0d34c79087bc9d39e18127c79
parent8f73ad16092071dfa1454d2b9f223f6507c5b729
Add uri_str_to_bytes(), byte_array_dup(), and byte_array_equal()
functions to strutil.  Use GByteArrays to store SSIDs for decryption,
and let the user specify arbitrary byte strings using percent-encoded
strings.  We should probably add percent encoding for pass phrases as
well, so you can escape the ":" character.

Move the key struct key conversion utilities to airpdcap.c, and remove
duplicate code from packet-ieee80211.c.  Fix a lot of indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20388 f5534014-38df-0310-8fa8-9805f1628bb7
airpcap_loader.c
airpcap_loader.h
epan/crypt/airpdcap.c
epan/crypt/airpdcap_user.h
epan/dissectors/packet-ieee80211.c
epan/strutil.c
epan/strutil.h