#include "dln.h"
#include <strings.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
◆ dln_exit
Definition at line 21 of file dln.c.
 
 
◆ dln_memerror
      
        
          | #define dln_memerror   abort | 
      
 
 
◆ dln_notimplement
      
        
          | #define dln_notimplement   --->>> dln not implemented <<<--- | 
      
 
Definition at line 19 of file dln.c.
 
 
◆ EXTERNAL_PREFIX
      
        
          | #define EXTERNAL_PREFIX   "" | 
      
 
 
◆ free
      
        
          | #define free | ( |  | x | ) | xfree(x) | 
      
 
 
◆ FUNCNAME_PREFIX
◆ init_funcname
      
        
          | #define init_funcname | ( |  | buf, | 
        
          |  |  |  | file | 
        
          |  | ) |  |  | 
      
 
Value:do {\
    const char *base = (file);\
    const size_t flen = init_funcname_len(&base);\
    const size_t plen = sizeof(funcname_prefix);\
    char *
const tmp = 
ALLOCA_N(
char, plen+flen+1);\
    if (!tmp) {\
        dln_memerror();\
    }\
    memcpy(tmp, funcname_prefix, plen);\
    memcpy(tmp+plen, base, flen);\
    tmp[plen+flen] = '\0';\
} while (0)
#define ALLOCA_N(type, n)
unsigned char buf[MIME_BUF_SIZE]
Definition at line 135 of file dln.c.
Referenced by dln_load().
 
 
◆ isdirsep
      
        
          | #define isdirsep | ( |  | x | ) | ((x) == '/') | 
      
 
 
◆ MAXPATHLEN
Definition at line 68 of file dln.c.
 
 
◆ S_ISDIR
      
        
          | #define S_ISDIR | ( |  | m | ) | (((m) & S_IFMT) == S_IFDIR) | 
      
 
Definition at line 61 of file dln.c.
 
 
◆ translit_separator
      
        
          | #define translit_separator | ( |  | str | ) | (void)(str) | 
      
 
 
◆ dln_load()
      
        
          | void* dln_load | ( | const char * | file | ) |  | 
      
 
 
◆ getenv()
◆ xcalloc()
◆ xmalloc()
◆ xrealloc()