Skip to content
  • Tim Rühsen's avatar
    Make wget allocation functions overridable function pointers · d5e648e8
    Tim Rühsen authored
    * include/wget/wget.h: Remove allocation function prototypes,
      add function pointer types and 'extern' globals
    * libwget/private.h: Use wget_free() instead of free()
    * libwget/xalloc.c: Remove function definitions,
      add global function pointer variables
    * src/options.c: Add own allocation functions
    * unit-tests/test.c: Test that function pointers are overridable
    d5e648e8