~ubuntu-branches/ubuntu/wily/ntop/wily-proposed

« back to all changes in this revision

Viewing changes to ntop/leaks.h

  • Committer: Bazaar Package Importer
  • Author(s): Dennis Schoen
  • Date: 2002-04-12 11:38:47 UTC
  • Revision ID: james.westby@ubuntu.com-20020412113847-4k4yydw0pzybc6g8
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <string.h>
 
2
#include <stdlib.h>
 
3
 
 
4
#ifndef _LEAKS_H_
 
5
#define _LEAKS_H_
 
6
 
 
7
extern void initLeaks(void);
 
8
extern void termLeaks(void);
 
9
 
 
10
extern void* myMalloc(size_t, int, char*);
 
11
extern void* myCalloc(size_t, size_t, int, char*);
 
12
extern void* myRealloc(void*, size_t, int, char*);
 
13
extern void  myFree(void*, int, char*);
 
14
extern char* myStrdup(char*, int, char*);
 
15
extern void  myRemoveXMPLeak(void*, int, char*);
 
16
extern void  myAddXMPLeak(void*, int, char*);
 
17
 
 
18
extern unsigned int PrintMemoryBlocks(void);
 
19
extern void ResetLeaks(void);
 
20
 
 
21
#endif
 
22
 
 
23