Changeset 2421 in MondoRescue for branches/2.2.10/mondo/src/include/mr_str.h


Ignore:
Timestamp:
Sep 24, 2009, 3:50:38 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Remove some compiler warnings on main
  • Adds function mr_chomp and mr_strip_char and use them in mr_date and call_program_and_get_last_line_of_output
  • Fix call_program_and_get_last_line_of_output to return the right result using a temp file instead of popen
  • Fix an issue in mr_getline_int in case of eof (returns now an empty string)
  • Sequencing of Init of bkpinfo reviewed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/include/mr_str.h

    r2208 r2421  
    1717extern char *mr_strtok(char *instr, const char *delims, int *lastpos);
    1818extern char *mr_stresc(char *instr, char *toesc, const char escchr);
    19 extern inline char *mr_date(void);
     19extern char *mr_date(void);
    2020extern void mr_strip_spaces(char *in_out);
     21extern void mr_strip_char(char *in_out, char *caracs);
     22extern void mr_chomp(char *in_out);
    2123
    2224#endif                          /* MR_STR_H */
Note: See TracChangeset for help on using the changeset viewer.