diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-07-15 13:41:31 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-07-21 07:33:50 +0200 |
commit | bdee910e88006ae33dc83ac3d2c0708adb6627d0 (patch) | |
tree | c80cd50103ca8a413cccd589511abea88720e6b2 /nss/Makefile | |
parent | d4b4586315974d2471486d41891aa9463a5838ad (diff) | |
download | glibc-bdee910e88006ae33dc83ac3d2c0708adb6627d0.tar.gz glibc-bdee910e88006ae33dc83ac3d2c0708adb6627d0.tar.xz glibc-bdee910e88006ae33dc83ac3d2c0708adb6627d0.zip |
nss: Add __nss_fgetent_r
And helper functions __nss_readline, __nss_readline_seek, __nss_parse_line_result. This consolidates common code for handling overlong lines and parse files. Use the new functionality in internal_getent in nss/nss_files/files-XXX.c. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nss/Makefile b/nss/Makefile index 00f4d89310..20c412c3e1 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -28,7 +28,9 @@ headers := nss.h routines = nsswitch getnssent getnssent_r digits_dots \ valid_field valid_list_field rewrite_field \ $(addsuffix -lookup,$(databases)) \ - compat-lookup nss_hash nss_files_fopen + compat-lookup nss_hash nss_files_fopen \ + nss_readline nss_parse_line_result \ + nss_fgetent_r # These are the databases that go through nss dispatch. # Caution: if you add a database here, you must add its real name |