aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-11-23 22:17:27 +0000
committerEvan Huus <eapache@gmail.com>2013-11-23 22:17:27 +0000
commitd97c9e2ff4b28835e3485e643a93ef53f778370f (patch)
tree765d426cd6fc5cb4e622c7446c24267147f2f647 /tools/checkAPIs.pl
parentdf1aec4a6b01f9d600288b518fece5f035c27f9f (diff)
Implement address_to_str which is like ep_address_to_str and se_address_to_str
except it takes a wmem scope instead. Add the two emem equivalents to checkAPI as (weakly) deprecated. svn path=/trunk/; revision=53528
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 7abea4b808..65a95b5015 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -128,7 +128,7 @@ my %APIs = (
### Deprecated emem functions (use wmem instead!)
# These will become errors once they've been removed from all the
- # existing dissectors
+ # existing code
'emem' => { 'count_errors' => 0, 'functions' => [
'ep_alloc',
'ep_new',
@@ -147,6 +147,7 @@ my %APIs = (
'ep_stack_push',
'ep_stack_pop',
'ep_stack_peek',
+ 'ep_address_to_str',
'se_alloc',
'se_new',
'se_alloc0',
@@ -157,6 +158,7 @@ my %APIs = (
'se_strdup_vprintf',
'se_strdup_printf',
'se_alloc_array',
+ 'se_address_to_str',
'se_tree_create',
'se_tree_insert32',
'se_tree_lookup32',