listserv_getfile you can get a file from listserv. One very special kind of files are the .list files. liblistserv gives you the possibility to read and store list headers as well as to parse them to get the active values of the keywords.
char* list_header = listserv_getheader (l, "ABC-L", 0);
The last parameter says if the list header must be locked.
list_header contains something like
* Address Book Coordination * * Owner = firstname.lastname@example.org
You can store the list header back to the server with
listserv_putheader (l, "ABC-L", list_header);
Or you can install a new list with:
listserv_putheader (l, "DEF-L", "\ * This Effective Liblistserv!\r\n\ * \r\n\ * Owner = email@example.com\r\n\ * Owner = Quiet:, firstname.lastname@example.org");
If you want to check the values of some keyword, you can use
char **owner = listserv_getlist_keyword (l, "DEF-L", "Owner");
Now owner contains "email@example.com" , owner contains "Quiet:", owner is "firstname.lastname@example.org", and owner is NULL.
If some keyword is not presented in the list header, you get its default value:
char **ack = listserv_getlist_keyword(l, "DEF-L", "Ack");
ack is "No" and ack is NULL.