path: root/packet-gsm_sms.c
AgeCommit message (Collapse)AuthorFilesLines
2003-12-14Use "tvb_format_text()" to format 8-bit strings, so we don't haveGuy Harris1-6/+6
problems with non-printable characters. Don't un-constify "tvb_get_ptr()". svn path=/trunk/; revision=9281
2003-12-13"wctomb()" doesn't necessarily accept Unicode as input, and may produceGuy Harris1-47/+8
more than one character as output. Use "tvb_fake_unicode()" to handle Unicode strings, instead. Don't hand strings to "proto_tree_add_text()" - it expects a printf-style formatting operator, which means it'd treat "%" specially. Use "%s", or "%.*s", instead; use "%.*s" when we don't know that the string is null-terminated. svn path=/trunk/; revision=9280
2003-12-11prevent MSVC warning:Ulf Lamping1-2/+2
"warning C4761: Gr´┐Ż´┐Żenkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
2003-12-08Get rid of the private "my_decode_bitfield_value()" a number ofGuy Harris1-94/+53
dissectors had. Instead, rename it "other_decode_bitfield_value()", put it in "epan/to_str.c", and make "decode_bitfield_value()" use it. svn path=/trunk/; revision=9213
2003-11-16Export "protocol_t" as an opaque type.Guy Harris1-7/+1
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()" take a "protocol_t *" as an argument, so they don't have to look up the "protocol_t" - this will probably speed them up considerably, and they're called on almost every dissector handoff. Get rid of a number of "proto_is_protocol_enabled()" calls that aren't necessary (dissectors called through handles, including those called through dissector tables, or called as heuristic dissectors, aren't even called if their protocol isn't enabled). Change some direct dissector calls to go through handles. svn path=/trunk/; revision=8979
2003-10-30No zero-length arrays, please.Guy Harris1-1/+5
svn path=/trunk/; revision=8832
2003-10-30From Michael Lum: squelch a couple of compiler warnings.Guy Harris1-5/+3
svn path=/trunk/; revision=8827
2003-10-30From Michael Lum:Guy Harris1-0/+2701
GSM BSSMAP (GSM 08.08) support GSM DTAP (3GPP TS 24.008) support GSM SMS (3GPP TS 24.011) support GSM SS (3GPP TS 24.080) support GSM SMS TPDU (3GPP TS 23.040) support svn path=/trunk/; revision=8826