Hi. Sorry I can't help dillo more. I'm always very busy with my work.

El vie, 2 ago 2024 a las 1:24, Rodrigo Arias (<rodarima@gmail.com>) escribió:

>To-Do:
>- Add prefs parsing to plugins to get 'save_dir' (may need help here)

I assume you could reuse the same prefs parser from Dillo, but we would
need to link the DPIs with some of the code that is now only being
linked in the browser.

 
You could use dParser_parse_rc_line() from dlib/dlib.[hc]
../dlib/dlib.c:int dParser_parse_rc_line(char **line, char **name, char **value)
../dlib/dlib.h:int dParser_parse_rc_line(char **line, char **name, char **value);

./srch dParser_parse_rc_line
keys.cc:      st = dParser_parse_rc_line(&line, &keycomb, &command);
prefsparser.cc:      st = dParser_parse_rc_line(&line, &name, &value);
../dpid/dpid.c:      st = dParser_parse_rc_line(&line, &service, &path);

Salud!
Diego