Changeset 1074 in MondoRescue for trunk/mondo/src/include/mr_mem.h
- Timestamp:
- Jan 25, 2007, 4:18:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/include/mr_mem.h
r900 r1074 9 9 #define MR_MEM_H 10 10 11 #ifndef _GNU_SOURCE 12 #define _GNU_SOURCE 13 #endif 14 #include <stdarg.h> 15 11 16 /* functions (public methods) */ 12 17 13 extern void mr_free(char *allocated); 14 extern void mr_allocstr(char *alloc, const char *orig); 15 extern void mr_asprintf(char **alloc, const char *fmt, ...); 16 extern void mr_vasprintf(char **alloc, const char *fmt, va_list ap); 17 extern void mr_getline(char **lineptr, size_t *n, FILE *stream); 18 extern void *mr_malloc(size_t size); 18 extern inline void mr_free(char *allocated); 19 extern inline void mr_allocstr(char *alloc, const char *orig); 20 extern inline void mr_asprintf(char **alloc, const char *fmt, ...); 21 extern inline void mr_getline(char **lineptr, size_t *n, FILE *stream); 22 extern inline void *mr_malloc(size_t size); 19 23 20 24 #endif /* MR_MEM_H */
Note:
See TracChangeset
for help on using the changeset viewer.