mm.h   mm.h 
/* ==================================================================== /* ====================================================================
* Copyright (c) 1999-2005 Ralf S. Engelschall <rse@engelschall.com> * Copyright (c) 1999-2006 Ralf S. Engelschall <rse@engelschall.com>
* Copyright (c) 1999-2005 The OSSP Project <http://www.ossp.org/> * Copyright (c) 1999-2006 The OSSP Project <http://www.ossp.org/>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
* are met: * are met:
* *
* 1. Redistributions of source code must retain the above copyright * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer. * notice, this list of conditions and the following disclaimer.
* *
* 2. Redistributions in binary form must reproduce the above copyright * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
skipping to change at line 334 skipping to change at line 334
#if defined(MM_PRIVATE) #if defined(MM_PRIVATE)
typedef mem_pool MM; typedef mem_pool MM;
#else #else
typedef void MM; typedef void MM;
#endif #endif
/* Global Malloc-Replacement API */ /* Global Malloc-Replacement API */
int MM_create(size_t, const char *); int MM_create(size_t, const char *);
int MM_permission(mode_t, uid_t, gid_t); int MM_permission(mode_t, uid_t, gid_t);
void MM_reset(void);
void MM_destroy(void); void MM_destroy(void);
int MM_lock(mm_lock_mode); int MM_lock(mm_lock_mode);
int MM_unlock(void); int MM_unlock(void);
void *MM_malloc(size_t); void *MM_malloc(size_t);
void *MM_realloc(void *, size_t); void *MM_realloc(void *, size_t);
void MM_free(void *); void MM_free(void *);
void *MM_calloc(size_t, size_t); void *MM_calloc(size_t, size_t);
char *MM_strdup(const char *); char *MM_strdup(const char *);
size_t MM_sizeof(const void *); size_t MM_sizeof(const void *);
size_t MM_maxsize(void); size_t MM_maxsize(void);
size_t MM_available(void); size_t MM_available(void);
char *MM_error(void); char *MM_error(void);
/* Standard Malloc-Style API */ /* Standard Malloc-Style API */
MM *mm_create(size_t, const char *); MM *mm_create(size_t, const char *);
int mm_permission(MM *, mode_t, uid_t, gid_t); int mm_permission(MM *, mode_t, uid_t, gid_t);
void mm_reset(MM *);
void mm_destroy(MM *); void mm_destroy(MM *);
int mm_lock(MM *, mm_lock_mode); int mm_lock(MM *, mm_lock_mode);
int mm_unlock(MM *); int mm_unlock(MM *);
void *mm_malloc(MM *, size_t); void *mm_malloc(MM *, size_t);
void *mm_realloc(MM *, void *, size_t); void *mm_realloc(MM *, void *, size_t);
void mm_free(MM *, void *); void mm_free(MM *, void *);
void *mm_calloc(MM *, size_t, size_t); void *mm_calloc(MM *, size_t, size_t);
char *mm_strdup(MM *, const char *); char *mm_strdup(MM *, const char *);
size_t mm_sizeof(MM *, const void *); size_t mm_sizeof(MM *, const void *);
size_t mm_maxsize(void); size_t mm_maxsize(void);
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/