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 = email@example.com
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 = firstname.lastname@example.org\r\n\ * Owner = Quiet:, email@example.com");
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 "firstname.lastname@example.org" , owner contains "Quiet:", owner is "email@example.com", 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.