Changeset 1152 in MondoRescue for branches/stable/mondo/src/include/mr_mem.h


Ignore:
Timestamp:
Feb 12, 2007, 11:49:41 PM (14 years ago)
Author:
Bruno Cornec
Message:

More memory updates around mondoarchive (addition of mr_setenv) (based on ideas sent as patches by Michel)

File:
1 edited

Legend:

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

    r1133 r1152  
    2222#define mr_getline(x,y,z) mr_getline_int(x,y,z,__LINE__,__FILE__)
    2323#define mr_malloc(x) mr_malloc_int((size_t)x,__LINE__,__FILE__)
     24#define mr_setenv(x,y) mr_setenv_int(x,y,__LINE__,__FILE__)
    2425
    2526/* Internal function bringing debuging info
     
    3031extern inline void mr_getline_int(char **lineptr, size_t *n, FILE *stream, int line, char *file);
    3132extern inline void *mr_malloc_int(size_t size, int line, char *file);
     33extern inline mr_setenv_int(const char *name, const char *value, int line, char *file);
    3234
    3335#endif                          /* MR_MEM_H */
Note: See TracChangeset for help on using the changeset viewer.