blob: 32fd734d61a0e5363e58237d33d0ef661cefe3d4 [file] [log] [blame]
Jiyong Parkd0c8d9b2019-11-06 12:44:58 +09001# The following symbols marked with # llndk are available to vendor code.
2# Unlike other VNDK libraries where keeping backwards compatibility is required
3# only within a platform release, these symbols need much longer suppport
4# because the same LLNDK library serves for both system and vendor partition
5# which might be a few years old.
Lorenzo Colittid15f0af2017-05-17 16:50:17 +09006LIBANDROID_NET {
7 global:
Luke Huangc17821c2018-11-20 11:38:23 +08008 # These functions have been part of the NDK since API 24.
Jiyong Parkd0c8d9b2019-11-06 12:44:58 +09009 android_getaddrinfofornetwork; # llndk
10 android_setsocknetwork; # llndk
11 android_setprocnetwork; # llndk
Luke Huangc17821c2018-11-20 11:38:23 +080012 # These functions have been part of the NDK since API 29.
Jiyong Parkd0c8d9b2019-11-06 12:44:58 +090013 android_res_cancel; # llndk
14 android_res_nquery; # llndk
15 android_res_nresult; # llndk
16 android_res_nsend; # llndk
Remi NGUYEN VANc2f03da2021-03-21 14:30:38 +000017 # These functions have been part of the NDK since API 31.
18 android_getprocnetwork; # llndk
Remi NGUYEN VANba43fb82021-03-23 00:57:38 +000019 android_setprocdns; # llndk
20 android_getprocdns; # llndk
Ken Chena4a35a92022-01-06 10:21:26 +080021 # These functions have been part of the NDK since API 33.
22 android_tag_socket_with_uid; # llndk
23 android_tag_socket; # llndk
24 android_untag_socket; # llndk
Lorenzo Colittid15f0af2017-05-17 16:50:17 +090025 local:
26 *;
27};