MidgardConfigFile

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
	Hi!

I added new midgard-apache2 configuration directive ( CVS HEAD ) :
http://www.nemein.com/people/piotras/midgardconfigfile.html

Now configuration file is used by :
	* midgard-php with php-cli
	* midgard-schema
	* midgard-query
	* midgard-apache2 

midgard-query needs love but it's simple tool to run any SQL queries without need 
to pass MySQL admin or password in command line. 

midgard-query configname query

There is also new midgard internal class MidgardConfig and we should remove midgard 
structure usage after 1.8 is out. 
Briefly,  we will be able to use objects for midgard connections ( for example ) with simple API :

GObject *connection = g_object_new(MIDGARD_TYPE_CONNECTION, NULL);
GObject *config = g_object_new(MIDGARD_TYPE_CONFIG, NULL);

midgard_connection_init(connection, config);

Piotras
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.