Back to index

im-sdk  12.3.91
test.c
Go to the documentation of this file.
00001 #include "imbean.h"
00002 
00003 int main(int argc, char **argv)
00004 {
00005        char *file_name;
00006        IbmlData *ibml_data;
00007 
00008        if (argc != 2) {
00009               printf("Usage: %s config_file\n", argv[0]);
00010               exit(0);
00011        }
00012 
00013        file_name = argv[1];
00014 
00015        ibml_data = (IbmlData *)imbean_config_new_from_file(file_name);
00016        ibml_data_print(ibml_data);
00017        ibml_data_free(ibml_data);
00018 }
00019