source: MondoRescue/branches/stable/mondo/src/include/mr_mem.h@ 1054

Last change on this file since 1054 was 1054, checked in by Bruno Cornec, 17 years ago
  • Backporting more trunk content into stable
  • Adding the test and lib directories
  • Preparing for l10n
  • Property svn:eol-style set to native
File size: 551 bytes
RevLine 
[1054]1/*
2 * $Id$
3 *
4 * Header file of mr_mem: a set of function manipulating memory
5 * Provided under the GPL v2
6 */
7
8#ifndef MR_MEM_H
9#define MR_MEM_H
10
11/* functions (public methods) */
12
13extern void mr_free(char *allocated);
14extern void mr_allocstr(char *alloc, const char *orig);
15extern void mr_asprintf(char **alloc, const char *fmt, ...);
16/*
17extern void mr_vasprintf(char **alloc, const char *fmt, va_list ap);
18*/
19extern void mr_getline(char **lineptr, size_t *n, FILE *stream);
20extern void *mr_malloc(size_t size);
21
22#endif /* MR_MEM_H */
Note: See TracBrowser for help on using the repository browser.