Are there any cscope or ctags APIs that can be used programmatically?

137 views Asked by At

I have been using ctags and cscope for sometime now. I wanted to know if there exist any APIs so as to grab output of "cscope -d". Or maybe if we can use cscope.out and tags database to extract readable information.

1

There are 1 answers

2
Masatake YAMATO On

libreadtags is a library for reading a "tags" file generated by ctags. If --sort=yes is specified as the command line of ctags invocation, libreadtags can do binary-search.