Hello all, I want to know if it's interesting to create a config. structure on the listener. I'm thinking about creating a structure with string pointers, and a function to parse the config file once, putting the options strings address at this. So, the get_rule_for should just return the corresponding string. I'm also thinking about reading the file in sequentially and filling the structure.
I think both ideas should make the config. file parsing more efficient, because it won't need to rewind and read again the file many times, since it'll read the file once a time and load every config option. I want to know if it's a valid effort before putting my hands on. []'s Bruno M Guedes _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel