set_config_data(3) Sets a block of configuration data. Allegro game programming library.


#include <allegro.h>

void set_config_data(const char *data, int length);


Specifies a block of data to be used by all subsequent config functions, which you have already loaded from disk (eg. as part of some more complicated format of your own, or in a grabber datafile). This routine makes a copy of the information, so you can safely free the data after calling it.