#include <cat/cat.h>
int catinfo_setpath(cat_session *sess, char **path);
sess is the session where the search path will be stored.
path is a NULL-terminated list of strings, where each string represents a
context. A subsequent relative lookup will use path[0]
,
path[1]
, ... , path[n]
if a match is not found.
A successful call to catinfo_init() must have been made prior to any call to this function.
catinfo_set() returns 0 if successful or a negative code on error.