summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-04-02 18:15:04 +0200
committerHarald Welte <laforge@gnumonks.org>2011-04-02 18:15:04 +0200
commit7a321dbf0d6ec1262dc360fc786a3a7096cf9637 (patch)
treed031c3b4d8dbe79278ac7c325dfff70041cdb4f6 /include
parent24a4924256431c9ef0b79b76283be48ca1964e39 (diff)
GTT: add generic 'apply' action
This GTT Action can be used to call a user-supplied callback funciton in case a GT Match was detected.
Diffstat (limited to 'include')
-rw-r--r--include/gtt.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gtt.hrl b/include/gtt.hrl
index 5edeba7..7d48ae7 100644
--- a/include/gtt.hrl
+++ b/include/gtt.hrl
@@ -18,3 +18,9 @@
-record(gtt_act_repl_num_plan, {
numbering_plan
}).
+
+% GTT action for a generic apply/3 call
+-record(gtt_act_apply, {
+ funct,
+ args
+ }).