Hash :
32d18dcf
Author :
Date :
2024-02-09T04:32:12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
#include "config.h"
LIBBSD_0.0 {
global:
#if LIBBSD_ABI_ARC4RANDOM
arc4random;
#endif
#if LIBBSD_ABI_ARC4RANDOM_STIR
arc4random_stir;
arc4random_addrandom;
#endif
#if LIBBSD_ABI_BSD_GETOPT
bsd_getopt;
optreset;
#endif
#if LIBBSD_ABI_ERRC
errc;
warnc;
verrc;
vwarnc;
#endif
#if LIBBSD_ABI_FGETLN
fgetln;
#endif
#if LIBBSD_ABI_FMTCHECK
fmtcheck;
#endif
#if LIBBSD_ABI_SORT
heapsort;
#endif
#if LIBBSD_ABI_HUMANIZE_NUMBER
humanize_number;
#endif
#if LIBBSD_ABI_INET_NET_PTON
inet_net_pton;
#endif
#if LIBBSD_ABI_PROGNAME
getprogname;
setprogname;
#endif
#if LIBBSD_ABI_STRL
strlcpy;
strlcat;
#endif
#if LIBBSD_ABI_ACCMODE
setmode;
getmode;
#endif
#if LIBBSD_ABI_VIS
vis;
strvis;
strvisx;
unvis;
strunvis;
strunvisx;
#endif
#if LIBBSD_ABI_MD5
MD5Init;
MD5Update;
MD5Pad;
MD5Final;
MD5Transform;
MD5End;
MD5File;
MD5FileChunk;
MD5Data;
#endif
local:
*;
};
LIBBSD_0.1 {
#if LIBBSD_ABI_STRMODE
strmode;
#endif
#if LIBBSD_ABI_NLIST
/* Private symbol, but libkvm uses it. */
__fdnlist;
nlist;
#endif
} LIBBSD_0.0;
LIBBSD_0.2 {
#if LIBBSD_ABI_STRTONUM
strtonum;
#endif
#if LIBBSD_ABI_VIS
strnvis;
strnunvis;
#endif
#if LIBBSD_ABI_HUMANIZE_NUMBER
dehumanize_number;
#endif
#if LIBBSD_ABI_READPASSPHRASE
readpassphrase;
#endif
#if LIBBSD_ABI_FLOPEN
flopen;
#endif
#if LIBBSD_ABI_PIDFILE
pidfile_open;
pidfile_write;
pidfile_close;
pidfile_remove;
#endif
#if LIBBSD_ABI_ARC4RANDOM
arc4random_buf;
arc4random_uniform;
#endif
} LIBBSD_0.1;
LIBBSD_0.3 {
#if LIBBSD_ABI_REALLOCF
reallocf;
#endif
#if LIBBSD_ABI_GETPEEREID
getpeereid;
#endif
#if LIBBSD_ABI_SORT
mergesort;
radixsort;
sradixsort;
#endif
#if LIBBSD_ABI_FPURGE
fpurge;
#endif
} LIBBSD_0.2;
LIBBSD_0.4 {
#if LIBBSD_ABI_CLOSEFROM
closefrom;
#endif
#if LIBBSD_ABI_EXPAND_NUMBER
expand_number;
#endif
} LIBBSD_0.3;
LIBBSD_0.5 {
#if LIBBSD_ABI_FGETLN
fgetwln;
fparseln;
#endif
#if LIBBSD_ABI_PROCTITLE
/* Introduced in 0.2 as a stub, implemented in 0.5. */
setproctitle;
#endif
#if LIBBSD_ABI_STRNSTR
strnstr;
#endif
#if LIBBSD_ABI_WCSL
wcslcat;
wcslcpy;
#endif
} LIBBSD_0.4;
LIBBSD_0.6 {
#if LIBBSD_ABI_PROCTITLE
/* Exported to cope with the constructor+dlopen+threads mess. */
setproctitle_init;
#endif
} LIBBSD_0.5;
LIBBSD_0.7 {
#if LIBBSD_ABI_GETBSIZE
getbsize;
#endif
#if LIBBSD_ABI_FUNOPEN
funopen;
#endif
#if LIBBSD_ABI_REALLOCARRAY
reallocarray;
#endif
#if LIBBSD_ABI_STRINGLIST
sl_init;
sl_add;
sl_free;
sl_find;
#endif
#if LIBBSD_ABI_TIMECONV
_time32_to_time;
_time_to_time32;
_time64_to_time;
_time_to_time64;
_time_to_long;
_long_to_time;
_time_to_int;
_int_to_time;
#endif
} LIBBSD_0.6;
LIBBSD_0.8 {
#if LIBBSD_ABI_EXPLICIT_BZERO
explicit_bzero;
#endif
} LIBBSD_0.7;
LIBBSD_0.9 {
#if LIBBSD_ABI_FLOPEN
flopenat;
#endif
#if LIBBSD_ABI_PIDFILE
pidfile_fileno;
#endif
#if LIBBSD_ABI_STRTOX
strtoi;
strtou;
#endif
#if LIBBSD_ABI_VIS
nvis;
snvis;
stravis;
strenvisx;
strnunvisx;
strsenvisx;
strsnvis;
strsnvisx;
strsvis;
strsvisx;
svis;
#endif
} LIBBSD_0.8;
LIBBSD_0.9.1 {
#if LIBBSD_ABI_VIS
/* The strnvis() and strnunvis() symbols changed prototype to match
* the NetBSD implementation. Provided as versioned nodes in 0.9.1, and
* exposed here explicitly so that we can redirect at compile-time. */
strnvis_netbsd;
strnunvis_netbsd;
#endif
} LIBBSD_0.9;
LIBBSD_0.10.0 {
#if LIBBSD_ABI_ERR
vwarn;
vwarnx;
warn;
warnx;
verr;
verrx;
err;
errx;
#endif
} LIBBSD_0.9.1;
LIBBSD_0.11.0 {
#if LIBBSD_ABI_VIS
strnvisx;
#endif
#if LIBBSD_ABI_RECALLOCARRAY
recallocarray;
#endif
#if LIBBSD_ABI_FREEZERO
freezero;
#endif
#if LIBBSD_ABI_ID_FROM_NAME
gid_from_group;
uid_from_user;
#endif
#if LIBBSD_ABI_NAME_FROM_ID
user_from_uid;
group_from_gid;
#endif
} LIBBSD_0.10.0;
LIBBSD_0.12.0 {
#if LIBBSD_ABI_ASPRINTF
vasprintf;
asprintf;
#endif
#if LIBBSD_ABI_TIMECONV && LIBBSD_ABI_TIME64
_time32_to_time_time64;
_time_to_time32_time64;
_time64_to_time_time64;
_time_to_time64_time64;
_time_to_long_time64;
_long_to_time_time64;
_time_to_int_time64;
_int_to_time_time64;
#endif
} LIBBSD_0.11.0;