diff options
| author | Pat Ruddy <pat@voltanet.io> | 2020-10-21 18:22:06 +0100 |
|---|---|---|
| committer | Pat Ruddy <pat@voltanet.io> | 2021-02-02 09:37:14 +0000 |
| commit | 4eb8c74f6cdddb310353b397edcda466b2a7e210 (patch) | |
| tree | 3d9e62d5b414e2abd1cb9fa96e9c145b27db82b6 /lib/command_graph.c | |
| parent | 98a9144fb427ad234dae0a62f57be9e1da51729f (diff) | |
lib: allow traps with differently indexed objects
The function smux_trap only allows the paaasin of one index which is
applied to all indexed objects. However there is a requirement for
differently indexed objects within a singe trap. This commit
introduces a new function smux_trap_multi_index which can be called
with an array of indices. If this array is onf length 1 the original
smux_trap behaviour is maintained. smux_trap now calls the new
function with and index array length of 1 to avoid changes to
existing callers.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions
