#include "dnsconf.h" #include PUBLIC void UNKNOWN::add (const char *token, const char *comment) { CSSTRING *c = new CSSTRING; c->setfrom (token); c->setcomment (comment); tb.add (c); } PUBLIC void UNKNOWN::write (FILE_CFG *fout, int level) { if (tb.getnb() > 0){ for (int j=0; jget(); const char *comment = c->comment.get(); if (comment[0] != '\0'){ fprintf (fout,"%s",comment); for (int j=1; jwrite(fout,level); } }