glibc/nss/nss_files
Florian Weimer bdee910e88 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>
2020-07-21 07:33:50 +02:00
..
files-alias.c nss_files: Consolidate file opening in __nss_files_fopen 2020-07-21 07:32:46 +02:00
files-ethers.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-grp.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-hosts.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-init.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-initgroups.c nss_files: Consolidate file opening in __nss_files_fopen 2020-07-21 07:32:46 +02:00
files-netgrp.c nss_files: Consolidate file opening in __nss_files_fopen 2020-07-21 07:32:46 +02:00
files-network.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-parse.c nss_files: Use generic result pointer in parse_line 2020-07-21 07:33:33 +02:00
files-proto.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-pwd.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-rpc.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-service.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-sgrp.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-spwd.c nss_files: Use NSS_DECLARE_MODULE_FUNCTIONS 2020-02-13 09:14:54 +01:00
files-XXX.c nss: Add __nss_fgetent_r 2020-07-21 07:33:50 +02:00