Browse Source

hard-link bencode.[ch] from kamailio source for now

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
c5be7346a6
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      daemon/bencode.h

+ 11
- 3
daemon/bencode.h View File

@ -4,9 +4,17 @@
#include <sys/uio.h>
#include <string.h>
#ifndef BENCODE_MALLOC
#define BENCODE_MALLOC malloc
#define BENCODE_FREE free
#if defined(PKG_MALLOC) || defined(pkg_malloc)
# include "../../mem/mem.h"
# ifndef BENCODE_MALLOC
# define BENCODE_MALLOC pkg_malloc
# define BENCODE_FREE pkg_free
# endif
#else
# ifndef BENCODE_MALLOC
# define BENCODE_MALLOC malloc
# define BENCODE_FREE free
# endif
#endif
struct bencode_buffer;


Loading…
Cancel
Save