jabberd2  2.7.0
Macros | Functions
misc.h File Reference

Miscellaneous utilities. More...

Go to the source code of this file.

Macros

#define JABBERD2_API   extern
 
#define misc_alloc(blocks, size, len)   if((size) > len) len = misc_realloc((void **) &(blocks), (size))
 

Functions

JABBERD2_API int misc_realloc (void **blocks, int len)
 

Detailed Description

Miscellaneous utilities.

Author
Robert Norris
Revision
1.1
Date
2004/05/01 00:51:10

Definition in file misc.h.

Macro Definition Documentation

◆ JABBERD2_API

#define JABBERD2_API   extern

Definition at line 40 of file misc.h.

◆ misc_alloc

#define misc_alloc (   blocks,
  size,
  len 
)    if((size) > len) len = misc_realloc((void **) &(blocks), (size))

Definition at line 45 of file misc.h.

Function Documentation

◆ misc_realloc()

JABBERD2_API int misc_realloc ( void **  blocks,
int  len 
)

Definition at line 28 of file misc.c.

References BLOCKSIZE.