curl_global_init_mem() allows the memory functions to be replaced.

memory.h is included everywhere for this.
This commit is contained in:
Daniel Stenberg 2004-05-11 11:30:23 +00:00
parent 434bc13812
commit bbafb2eb27
48 changed files with 295 additions and 271 deletions

View file

@ -74,7 +74,6 @@
#include <sys/select.h>
#endif
#endif
#include "urldata.h"
@ -94,14 +93,13 @@
#include "share.h"
#include "hostip.h"
#include "http.h"
#include "memory.h"
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
/* The last #include file should be: */
#ifdef CURLDEBUG
#include "memdebug.h"
#endif
/*
* checkheaders() checks the linked list of custom HTTP headers for a