new_create_dissector_handle_with_name -> create_dissector_handle_with_name

Change-Id: I32d30ada66ee68782194905a8aa669c07f0dc204
Reviewed-on: https://code.wireshark.org/review/12482
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2015-12-08 21:12:55 -05:00
parent 12f6311b20
commit 55fa72224a
3 changed files with 3 additions and 4 deletions

View File

@ -571,7 +571,7 @@ rpc_init_prog(int proto, guint32 prog, int ett, size_t nvers,
continue;
}
dissector_add_custom_table_handle("rpc.call", g_memdup(&key, sizeof(rpc_proc_info_key)),
new_create_dissector_handle_with_name(proc->dissect_call, value->proto_id, proc->strptr));
create_dissector_handle_with_name(proc->dissect_call, value->proto_id, proc->strptr));
if (proc->dissect_reply == NULL) {
fprintf(stderr, "OOPS: No reply handler for %s version %u procedure %s\n",
@ -586,7 +586,7 @@ rpc_init_prog(int proto, guint32 prog, int ett, size_t nvers,
continue;
}
dissector_add_custom_table_handle("rpc.reply", g_memdup(&key, sizeof(rpc_proc_info_key)),
new_create_dissector_handle_with_name(proc->dissect_reply, value->proto_id, proc->strptr));
create_dissector_handle_with_name(proc->dissect_reply, value->proto_id, proc->strptr));
}
}
}

View File

@ -2592,7 +2592,7 @@ new_create_dissector_handle(new_dissector_t dissector, const int proto)
return handle;
}
dissector_handle_t new_create_dissector_handle_with_name(new_dissector_t dissector,
dissector_handle_t create_dissector_handle_with_name(new_dissector_t dissector,
const int proto, const char* name)
{
struct dissector_handle *handle;

View File

@ -539,7 +539,6 @@ WS_DLL_PUBLIC const char *dissector_handle_get_dissector_name(const dissector_ha
#define new_create_dissector_handle create_dissector_handle
WS_DLL_PUBLIC dissector_handle_t create_dissector_handle(new_dissector_t dissector,
const int proto);
#define new_create_dissector_handle_with_name create_dissector_handle_with_name
WS_DLL_PUBLIC dissector_handle_t create_dissector_handle_with_name(new_dissector_t dissector,
const int proto, const char* name);