From c0d17f22663ba78f1620043316ac7d374ff45b86 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 7 May 2011 12:12:48 +0200 Subject: src: use namespace prefix osmo_* for misc utils Summary of changes: s/bcd2char/osmo_bcd2char/g s/char2bcd/osmo_char2bcd/g s/hexparse/osmo_hexparse/g s/hexdump/osmo_hexdump/g s/hexdump_nospc/osmo_hexdump_nospc/g s/ubit_dump/osmo_ubit_dump/g s/static_assert/osmo_static_assert/g --- openbsc/src/utils/bs11_config.c | 2 +- openbsc/src/utils/rs232.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'openbsc/src/utils') diff --git a/openbsc/src/utils/bs11_config.c b/openbsc/src/utils/bs11_config.c index 6e821266d..878d02a71 100644 --- a/openbsc/src/utils/bs11_config.c +++ b/openbsc/src/utils/bs11_config.c @@ -688,7 +688,7 @@ int handle_serial_msg(struct msgb *rx_msg) printf("\n%sATTRIBUTES:\n", obj_name(foh)); abis_nm_tlv_parse(&tp, g_bts, foh->data, oh->length-sizeof(*foh)); rc = print_attr(&tp); - //hexdump(foh->data, oh->length-sizeof(*foh)); + //osmo_hexdump(foh->data, oh->length-sizeof(*foh)); break; case NM_MT_BS11_SET_ATTR_ACK: printf("SET ATTRIBUTE ObjClass=0x%02x ObjInst=(%d,%d,%d) ACK\n", diff --git a/openbsc/src/utils/rs232.c b/openbsc/src/utils/rs232.c index b322e8aba..4e35cb06a 100644 --- a/openbsc/src/utils/rs232.c +++ b/openbsc/src/utils/rs232.c @@ -100,7 +100,7 @@ static int handle_ser_write(struct osmo_fd *bfd) return 0; } - DEBUGP(DMI, "RS232 TX: %s\n", hexdump(msg->data, msg->len)); + DEBUGP(DMI, "RS232 TX: %s\n", osmo_hexdump(msg->data, msg->len)); /* send over serial line */ written = write(bfd->fd, msg->data, msg->len); @@ -173,7 +173,7 @@ static int handle_ser_read(struct osmo_fd *bfd) if (msg->len > LAPD_HDR_LEN) msg->l2h = msg->data + LAPD_HDR_LEN; - DEBUGP(DMI, "RS232 RX: %s\n", hexdump(msg->data, msg->len)); + DEBUGP(DMI, "RS232 RX: %s\n", osmo_hexdump(msg->data, msg->len)); rc = handle_serial_msg(msg); } } -- cgit v1.2.3