Ignore:
Timestamp:
Aug 26, 2007, 12:26:06 PM (13 years ago)
Author:
Bruno Cornec
Message:

Use of conf file entries (iso_burning_*, media_device, media_size)
and adapatation of the rest of the code to that (including bkpinfo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/mr_conf.h

    r1592 r1594  
    2727    /* ISO Burning CLI command to use */
    2828    char *iso_burning_cmd;
     29    /* ISO Burning device to use (optional) */
     30    char *iso_burning_dev;
    2931    /* ISO Burning CLI command options */
    3032    char *iso_burning_opt;
     
    121123extern void mr_conf_close(void);
    122124
    123 /*read integer number after string str in the current file*/
    124 extern int mr_conf_iread(const char *field_name);
     125/*read integer number (under a string format to be freed later on) after string str in the current file*/
     126/* use atoi after */
     127extern char *mr_conf_iread(const char *field_name);
    125128
    126 /*read double/float number after string str in the current file*/
    127 extern double mr_conf_fread(const char *field_name);
     129/*read double/float number (under a string format to be freed later on) after string str in the current file*/
     130/* use atof after */
     131extern char *mr_conf_fread(const char *field_name);
    128132
    129 /*read boolean after string str in the current file*/
    130 extern bool mr_conf_bread(const char *field_name);
     133/*read boolean (under a string format to be freed later on) after string str in the current file*/
     134/* use mr_atob after */
     135extern char *mr_conf_bread(const char *field_name);
    131136
    132137/*
Note: See TracChangeset for help on using the changeset viewer.