On Sat, Nov 9, 2013 at 3:02 PM, Chris Morgan <[email protected]> wrote: > Hello. > > I wanted to implement a configuration file format for an application of mine > that uses a similar format to what systemd uses. I was wondering if the > parser used today was from an external library. I googled a bit but wasn't > able to dig anything up. I haven't looked at the code in detail yet.
We are not using an external library for parsing (see src/share/conf-parser.h). However, systemd's config file format is itself similar (but not identical) to the .desktop (and Window's .ini) format, so you may be able to use existing parsers for those formats. Cheers, Tom _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
