summaryrefslogtreecommitdiff
path: root/tools/HPMHookGen/HPMHookGen.pl
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
committerHaruna <haru@dotalux.com>2015-01-24 14:38:39 +0100
commit6f3a82487fdffabf221a9a2dfc5ace027c333f95 (patch)
tree76f2ba97a955d0724949b5f233a81bcd4ea8cf52 /tools/HPMHookGen/HPMHookGen.pl
parenta75714ca455c728d34918dd12200fcec87ebc0d4 (diff)
parent28eda3cd3dd7f8031668fdd8ba463e5661246348 (diff)
downloadhercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.gz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.bz2
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.tar.xz
hercules-6f3a82487fdffabf221a9a2dfc5ace027c333f95.zip
Merge pull request #452 from HerculesWS/channel_refactor
Hercules Channel System refactor
Diffstat (limited to 'tools/HPMHookGen/HPMHookGen.pl')
-rwxr-xr-xtools/HPMHookGen/HPMHookGen.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl
index 03b32394c..4fa548e44 100755
--- a/tools/HPMHookGen/HPMHookGen.pl
+++ b/tools/HPMHookGen/HPMHookGen.pl
@@ -217,6 +217,8 @@ sub parse($$) {
$rtinit = ' = BL_NUL';
} elsif ($x =~ /^enum\s+homun_type$/) { # Known enum homun_type
$rtinit = ' = HT_INVALID';
+ } elsif ($x =~ /^enum\s+channel_operation_status$/) { # Known enum channel_operation_status
+ $rtinit = ' = HCS_STATUS_FAIL';
} elsif ($x =~ /^enum\s+bg_queue_types$/) { # Known enum bg_queue_types
$rtinit = ' = BGQT_INVALID';
} elsif ($x =~ /^struct\s+.*$/ or $x eq 'DBData') { # Structs