summary refs log tree commit diff
path: root/include/gshadow.h
blob: 8a981f688a8ee6f5ba6e2d369c5adeb954cbfd7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _GSHADOW_H
#include <gshadow/gshadow.h>

extern int __fgetsgent_r (FILE *stream, struct sgrp *resbuf, char *buffer,
			  size_t buflen, struct sgrp **result);
extern int __sgetsgent_r (const char *string, struct sgrp *resbuf,
			  char *buffer, size_t buflen, struct sgrp **result);

struct parser_data;
extern int _nss_files_parse_sgent (char *line, struct sgrp *result,
                                   struct parser_data *data,
                                   size_t datalen, int *errnop);
libc_hidden_proto (_nss_files_parse_sgent)

#endif