config: don't mix buffer reading methods
config: don't mix buffer reading methods

Make header and variable parse functions use their own buffers instead
of giving them the line they need to read as a parameter which they
mostly ignore.

This is in preparation for multiline configuration variables.

Signed-off-by: Carlos Martín Nieto <eecb638c0e60875b4a70118790d5be43bb59c2d6@elego.de>

mingyaaaa/libgit2,since2014/libgit2,since2014/libgit2,yosefhackmon/libgit2,yosefhackmon/libgit2,Aorjoa/libgit2_maked_lib,kissthink/libgit2,maxiaoqian/libgit2,mrksrm/Mingijura,saurabhsuniljain/libgit2,sygool/libgit2,skabel/manguse,whoisj/libgit2,iankronquist/libgit2,jflesch/libgit2-mariadb,yongthecoder/libgit2,since2014/libgit2,dleehr/libgit2,sygool/libgit2,KTXSoftware/libgit2,skabel/manguse,magnus98/TEST,stewid/libgit2,dleehr/libgit2,rcorre/libgit2,jflesch/libgit2-mariadb,linquize/libgit2,falqas/libgit2,leoyanggit/libgit2,t0xicCode/libgit2,falqas/libgit2,since2014/libgit2,zodiac/libgit2.js,Tousiph/Demo1,rcorre/libgit2,raybrad/libit2,jamieleecool/ptest,Tousiph/Demo1,oaastest/libgit2,Corillian/libgit2,mrksrm/Mingijura,t0xicCode/libgit2,yongthecoder/libgit2,nokiddin/libgit2,MrHacky/libgit2,dleehr/libgit2,Corillian/libgit2,t0xicCode/libgit2,joshtriplett/libgit2,linquize/libgit2,dleehr/libgit2,stewid/libgit2,ardumont/libgit2,amyvmiwei/libgit2,kenprice/libgit2,Corillian/libgit2,claudelee/libgit2,falqas/libgit2,skabel/manguse,ardumont/libgit2,nokiddin/libgit2,oaastest/libgit2,amyvmiwei/libgit2,kenprice/libgit2,kenprice/libgit2,kenprice/libgit2,swisspol/DEMO-libgit2,JIghtuse/libgit2,maxiaoqian/libgit2,Aorjoa/libgit2_maked_lib,t0xicCode/libgit2,dleehr/libgit2,t0xicCode/libgit2,nacho/libgit2,magnus98/TEST,yosefhackmon/libgit2,magnus98/TEST,mcanthony/libgit2,Snazz2001/libgit2,leoyanggit/libgit2,leoyanggit/libgit2,ardumont/libgit2,zodiac/libgit2.js,KTXSoftware/libgit2,rcorre/libgit2,joshtriplett/libgit2,sim0629/libgit2,magnus98/TEST,Snazz2001/libgit2,Corillian/libgit2,JIghtuse/libgit2,nacho/libgit2,oaastest/libgit2,Aorjoa/libgit2_maked_lib,sim0629/libgit2,joshtriplett/libgit2,kissthink/libgit2,kissthink/libgit2,yosefhackmon/libgit2,rcorre/libgit2,ardumont/libgit2,stewid/libgit2,spraints/libgit2,spraints/libgit2,saurabhsuniljain/libgit2,whoisj/libgit2,saurabhsuniljain/libgit2,jeffhostetler/public_libgit2,swisspol/DEMO-libgit2,amyvmiwei/libgit2,ardumont/libgit2,mcanthony/libgit2,raybrad/libit2,Tousiph/Demo1,stewid/libgit2,kissthink/libgit2,jeffhostetler/public_libgit2,nacho/libgit2,whoisj/libgit2,iankronquist/libgit2,linquize/libgit2,Corillian/libgit2,jamieleecool/ptest,jflesch/libgit2-mariadb,leoyanggit/libgit2,spraints/libgit2,magnus98/TEST,spraints/libgit2,mingyaaaa/libgit2,Corillian/libgit2,mhp/libgit2,claudelee/libgit2,since2014/libgit2,oaastest/libgit2,stewid/libgit2,amyvmiwei/libgit2,jflesch/libgit2-mariadb,t0xicCode/libgit2,yongthecoder/libgit2,jeffhostetler/public_libgit2,claudelee/libgit2,swisspol/DEMO-libgit2,maxiaoqian/libgit2,nokiddin/libgit2,rcorre/libgit2,evhan/libgit2,evhan/libgit2,skabel/manguse,mhp/libgit2,skabel/manguse,sygool/libgit2,kenprice/libgit2,Aorjoa/libgit2_maked_lib,mrksrm/Mingijura,yongthecoder/libgit2,jeffhostetler/public_libgit2,JIghtuse/libgit2,Tousiph/Demo1,maxiaoqian/libgit2,whoisj/libgit2,leoyanggit/libgit2,iankronquist/libgit2,whoisj/libgit2,stewid/libgit2,saurabhsuniljain/libgit2,sygool/libgit2,JIghtuse/libgit2,claudelee/libgit2,jamieleecool/ptest,MrHacky/libgit2,mcanthony/libgit2,mingyaaaa/libgit2,swisspol/DEMO-libgit2,yongthecoder/libgit2,whoisj/libgit2,saurabhsuniljain/libgit2,sim0629/libgit2,joshtriplett/libgit2,raybrad/libit2,spraints/libgit2,falqas/libgit2,mhp/libgit2,chiayolin/libgit2,claudelee/libgit2,claudelee/libgit2,rcorre/libgit2,nacho/libgit2,mingyaaaa/libgit2,skabel/manguse,MrHacky/libgit2,oaastest/libgit2,swisspol/DEMO-libgit2,iankronquist/libgit2,linquize/libgit2,dleehr/libgit2,jflesch/libgit2-mariadb,JIghtuse/libgit2,mcanthony/libgit2,since2014/libgit2,linquize/libgit2,zodiac/libgit2.js,Tousiph/Demo1,Tousiph/Demo1,ardumont/libgit2,Aorjoa/libgit2_maked_lib,sim0629/libgit2,joshtriplett/libgit2,mrksrm/Mingijura,mingyaaaa/libgit2,mhp/libgit2,mcanthony/libgit2,jeffhostetler/public_libgit2,zodiac/libgit2.js,falqas/libgit2,raybrad/libit2,swisspol/DEMO-libgit2,kenprice/libgit2,yosefhackmon/libgit2,evhan/libgit2,amyvmiwei/libgit2,mcanthony/libgit2,leoyanggit/libgit2,zodiac/libgit2.js,jflesch/libgit2-mariadb,MrHacky/libgit2,MrHacky/libgit2,nokiddin/libgit2,falqas/libgit2,mhp/libgit2,linquize/libgit2,jamieleecool/ptest,chiayolin/libgit2,mrksrm/Mingijura,chiayolin/libgit2,KTXSoftware/libgit2,mingyaaaa/libgit2,yosefhackmon/libgit2,sim0629/libgit2,mrksrm/Mingijura,spraints/libgit2,sim0629/libgit2,nokiddin/libgit2,evhan/libgit2,oaastest/libgit2,yongthecoder/libgit2,chiayolin/libgit2,maxiaoqian/libgit2,iankronquist/libgit2,chiayolin/libgit2,JIghtuse/libgit2,Snazz2001/libgit2,iankronquist/libgit2,mhp/libgit2,KTXSoftware/libgit2,sygool/libgit2,nokiddin/libgit2,Snazz2001/libgit2,Snazz2001/libgit2,sygool/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,KTXSoftware/libgit2,kissthink/libgit2,MrHacky/libgit2,jeffhostetler/public_libgit2,saurabhsuniljain/libgit2,Snazz2001/libgit2,kissthink/libgit2,KTXSoftware/libgit2,maxiaoqian/libgit2,chiayolin/libgit2,magnus98/TEST,raybrad/libit2