GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
firestring_conf_parse(3) FreeBSD Library Functions Manual firestring_conf_parse(3)

firestring_conf_parse - read and parse a configuration file

#include <firestring.h>
-lfirestring

struct firestring_conf_t *firestring_conf_parse(const char *filename)

firestring_conf_parse() attempts to read a configuration from filename and parse the results into a structure that it then returns.

The support configuration format is fairly flexible:
# Configuration file example
# These are comments
variable_name = value
variable_name2=value
variable_name3="quoted value"
variable_name4="array value 1"
variable_name4="array value 2"

include as a variable name is special; it causes firestring to parse the file referenced by the value, overriding any previous values (although they are still accessible as arrays).

Returns a pointer to a structure containing the data read from the config file, or NULL if the file cannot be opened.

Ian Gulliver <ian@penguinhosting.net>

libfirestring(3)
2002-03-31

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.