Changeset 783 in MondoRescue for trunk/mondo/mondo/include/mr_conf.h


Ignore:
Timestamp:
Aug 31, 2006, 5:09:20 PM (18 years ago)
Author:
Bruno Cornec
Message:
  • Massive rewrite continues for memory management.
  • main structure should now have all parameters allocated dynamically
  • new lib libmr.a + dir + build process reviewed to support it.
  • new include subdir to host external definitions of the new lib
  • code now compiles. Still one remaining link issues for mondorestore. This should allow for some tests soon.

(goal is to separate completely reviewed code and functions and provide clean interfaces)

Location:
trunk/mondo/mondo/include
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/include/mr_conf.h

    r768 r783  
    3131
    3232/*initialization and closing*/
    33 int mr_conf_open(const char *filename);
    34 void mr_conf_close();
     33extern int mr_conf_open(const char *filename);
     34extern void mr_conf_close();
    3535
    3636/*read integer number after string str in the current file*/
    37 int mr_conf_iread(const char *field_name);
     37extern int mr_conf_iread(const char *field_name);
    3838
    3939/*read double/float number after string str in the current file*/
    40 double mr_conf_fread(const char *field_name);
     40extern double mr_conf_fread(const char *field_name);
    4141
    4242/*
     
    4444 * This function allocates the string which has to be freed later on
    4545*/
    46 char *mr_conf_sread(const char *field_name);
     46extern char *mr_conf_sread(const char *field_name);
    4747
    4848#endif                          /* MR_CONF_H */
Note: See TracChangeset for help on using the changeset viewer.