C and C++ Binaries

Data Type: struct __cs_xref_file_query

Used to restrict the files considered by a cs_xref_query.

Files must satisfy the requirements of every field, as described below. If a field contains two or more strings, at least one of them must match appropriately. NULL fields are interpreted as matching everything.

When constructing one of these objects, memset it to 0 initially before setting the individual fields.

Comparison for absolutes, absolutes_ss, dirnames, dirnames_ss, basenames, and basenames_ss is case-insensitive and treats path separators '/' and '\' as interchangeable.

Defined in file cs_xref.h.



Public Attributes

char ** absolutes Exact match, absolute path to file.
char ** absolutes_ss Substring match, absolute path to file.
char ** dirnames Exact match, file dirname (ie, absolute path to file, omitting the basename and with no trailing slash).
char ** dirnames_ss Substring match, file dirname.
char ** basenames Exact match, file basename.
char ** basenames_ss Substring match, file basename.
cs_sf * sfs Match only tokens in instances of these source files.
cs_line * lines Match only tokens that appear on one of these lines.
cs_boolean reject_libmodels Don't match tokens in library model files.