1#ifndef __VSF_LINUX_RESOLV_H__
2#define __VSF_LINUX_RESOLV_H__
6#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED && VSF_LINUX_USE_SIMPLE_LIBC == ENABLED
16#if VSF_LINUX_CFG_WRAPPER == ENABLED
17#define __b64_ntop VSF_LINUX_WRAPPER(__b64_ntop)
18#define __b64_pton VSF_LINUX_WRAPPER(__b64_pton)
21#define b64_ntop __b64_ntop
22#define b64_pton __b64_pton
30#if VSF_LINUX_APPLET_USE_RESOLV == ENABLED
37# ifndef __VSF_APPLET__
42#if defined(__VSF_APPLET__) && (defined(__VSF_APPLET_LIB__) || defined(__VSF_APPLET_LINUX_RESOLV_LIB__))\
43 && VSF_LINUX_APPLET_USE_RESOLV == ENABLED
45#ifndef VSF_LINUX_APPLET_RESOLV_VPLT
46# if VSF_LINUX_USE_APPLET == ENABLED
47# define VSF_LINUX_APPLET_RESOLV_VPLT \
48 ((vsf_linux_resolv_vplt_t *)(VSF_LINUX_APPLET_VPLT->resolv_vplt))
50# define VSF_LINUX_APPLET_RESOLV_VPLT \
51 ((vsf_linux_resolv_vplt_t *)vsf_vplt((void *)0))
55#define VSF_LINUX_APPLET_RESOLV_ENTRY(__NAME) \
56 VSF_APPLET_VPLT_ENTRY_FUNC_ENTRY(VSF_LINUX_APPLET_RESOLV_VPLT, __NAME)
57#define VSF_LINUX_APPLET_RESOLV_IMP(...) \
58 VSF_APPLET_VPLT_ENTRY_FUNC_IMP(VSF_LINUX_APPLET_RESOLV_VPLT, __VA_ARGS__)
60VSF_LINUX_APPLET_RESOLV_IMP(
__b64_ntop,
int,
const unsigned char *src,
int srclen,
char *dst,
size_t dstlen) {
61 return VSF_LINUX_APPLET_RESOLV_ENTRY(
__b64_ntop)(src, srclen, dst, dstlen);
63VSF_LINUX_APPLET_RESOLV_IMP(
__b64_pton,
int,
char *src,
unsigned char *dst,
size_t dstlen) {
64 return VSF_LINUX_APPLET_RESOLV_ENTRY(
__b64_pton)(src, dst, dstlen);
69int b64_ntop(
const unsigned char *src,
int srclen,
char *dst,
size_t dstlen);
70int b64_pton(
char *src,
unsigned char *dst,
size_t dstlen);
#define b64_ntop
Definition resolv.h:21
#define __b64_pton
Definition resolv.h:18
#define __b64_ntop
Definition resolv.h:17
#define b64_pton
Definition resolv.h:22
__VSF_VPLT_DECORATOR__ vsf_linux_resolv_vplt_t vsf_linux_resolv_vplt
int number
Definition resolv.h:25
char * humanname
Definition resolv.h:27
char * name
Definition resolv.h:26
vsf_vplt_info_t info
Definition resolv.h:32
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(__b64_ntop)
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(__b64_pton)
#define __VSF_VPLT_DECORATOR__
Definition vsf_cfg.h:93