avahi  0.7
AvahiAllocator Struct Reference

Wraps allocator functions. More...

#include <avahi-common/malloc.h>

Data Fields

void *(* malloc )(size_t size) AVAHI_GCC_ALLOC_SIZE(1)
 
void(* free )(void *p)
 
void *(* realloc )(void *p, size_t size) AVAHI_GCC_ALLOC_SIZE(2)
 
void *(* calloc )(size_t nmemb, size_t size) AVAHI_GCC_ALLOC_SIZE2(1
 

Detailed Description

Wraps allocator functions.

Definition at line 75 of file malloc.h.

Field Documentation

◆ calloc

void*(* AvahiAllocator::calloc) (size_t nmemb, size_t size) AVAHI_GCC_ALLOC_SIZE2(1

Definition at line 79 of file malloc.h.

◆ free

void(* AvahiAllocator::free) (void *p)

Definition at line 77 of file malloc.h.

◆ malloc

void*(* AvahiAllocator::malloc) (size_t size) AVAHI_GCC_ALLOC_SIZE(1)

Definition at line 76 of file malloc.h.

◆ realloc

void*(* AvahiAllocator::realloc) (void *p, size_t size) AVAHI_GCC_ALLOC_SIZE(2)

Definition at line 78 of file malloc.h.


The documentation for this struct was generated from the following file: