Standard location to put extension info?

C

Chintana Wilamuna

Hi,

I need to store some information such as the default log level, an
absolute path that'll contains the repository location in the file
system for an extension written in C. This extension is a wrapper to
a library and I need to pass this information on to those library
functions. The "repository location" will change depending on where
the users have installed the library.

Is there a standard way of doing it without depending on the
configuration files/settings from a framework such as Ruby on Rails?
That way the extension will be usable regardless of the framework
being used. Any clues, pointers how am I to go about doing this will
greatly be appreciated.

Thanks in advance,

Bye,

-Chintana
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,270
Messages
2,571,353
Members
48,038
Latest member
HunterDela

Latest Threads

Top