vty: Add functions to access index and node
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 13 Sep 2010 18:24:03 +0000 (02:24 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 13 Sep 2010 18:24:03 +0000 (02:24 +0800)
commit08aaded3b88dfe1da70a2923932c909e389d265e
treeb8bc7c92b3259706cef083413dda0a1b742bfb04
parent2e228fc2af9df41517163fd6575ff509c33096ad
vty: Add functions to access index and node

It is easier to call these two functions from bindings than
wrapping the vty structure and figuring out the alignment of
the enum on all different ABIs.
include/osmocom/vty/vty.h
src/vty/vty.c