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

# ifndef _ISOMAC

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 /* !_ISOMAC */
#endif