Changeset 1133 in MondoRescue for branches/stable/mondo/src/include
- Timestamp:
- Feb 11, 2007, 12:02:57 PM (18 years ago)
- Location:
- branches/stable/mondo/src/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/include/mr_file.h
r1100 r1133 17 17 /* functions (public methods) */ 18 18 19 extern FILE *mr_fopen(const char *path, const char *mode); 20 extern FILE *mr_fprintf(FILE *stream, const char *fmt, ...); 21 extern void mr_fclose(FILE *fd); 22 extern void mr_mkdir(const char *pathname, mode_t mode); 19 #define mr_fopen(x,y) mr_fopen_int((const char *)x, (const char *)y,__LINE__,__FILE__) 20 #define mr_fprintf(x,y,args...) mr_fprintf_int(x,__LINE__,__FILE__,y,## args) 21 #define mr_fclose(x) mr_fclose_int((FILE **)&fd, __LINE__,__FILE__) 22 #define mr_mkdir(x) mr_mkdir_int((const char *)pathname,(mode_t)mode,__LINE__,__FILE__) 23 24 extern FILE *mr_fopen_int(const char *path, const char *mode,int line, char *file); 25 extern FILE *mr_fprintf_int(FILE *stream,int line, char *file, const char *fmt, ...); 26 extern void mr_fclose_int(FILE *fd, int line, char *file); 27 extern void mr_mkdir_int(const char *pathname, mode_t mode, int line, char *file); 23 28 24 29 #endif /* MR_FILE_H */ -
branches/stable/mondo/src/include/mr_mem.h
r1104 r1133 18 18 19 19 #define mr_free(x) mr_free_int((void **)&x,__LINE__,__FILE__) 20 #define mr_allocstr(x,y) mr_allocstr_int(x, 21 #define mr_asprintf(x,y,args...) mr_asprintf_int(x,__LINE__,__FILE__, y,## args)22 #define mr_getline(x,y,z) mr_getline_int(x, 20 #define mr_allocstr(x,y) mr_allocstr_int(x,y,__LINE__,__FILE__) 21 #define mr_asprintf(x,y,args...) mr_asprintf_int(x,__LINE__,__FILE__,y,## args) 22 #define mr_getline(x,y,z) mr_getline_int(x,y,z,__LINE__,__FILE__) 23 23 #define mr_malloc(x) mr_malloc_int((size_t)x,__LINE__,__FILE__) 24 24
Note:
See TracChangeset
for help on using the changeset viewer.