2 #include <inet/aliases.h>
6 extern int __getaliasent_r (struct aliasent
*__restrict __result_buf
,
7 char *__restrict __buffer
, size_t __buflen
,
8 struct aliasent
**__restrict __result
)
10 extern int __old_getaliasent_r (struct aliasent
*__restrict __result_buf
,
11 char *__restrict __buffer
, size_t __buflen
,
12 struct aliasent
**__restrict __result
);
14 extern int __getaliasbyname_r (const char *__restrict __name
,
15 struct aliasent
*__restrict __result_buf
,
16 char *__restrict __buffer
, size_t __buflen
,
17 struct aliasent
**__restrict __result
);
18 extern int __old_getaliasbyname_r (const char *__restrict __name
,
19 struct aliasent
*__restrict __result_buf
,
20 char *__restrict __buffer
, size_t __buflen
,
21 struct aliasent
**__restrict __result
);
23 #define DECLARE_NSS_PROTOTYPES(service) \
24 extern enum nss_status _nss_ ## service ## _setaliasent (void); \
25 extern enum nss_status _nss_ ## service ## _endaliasent (void); \
26 extern enum nss_status _nss_ ## service ## _getaliasent_r \
27 (struct aliasent *alias, char *buffer, size_t buflen, \
29 extern enum nss_status _nss_ ## service ## _getaliasbyname_r \
30 (const char *name, struct aliasent *alias, \
31 char *buffer, size_t buflen, int *errnop);
34 DECLARE_NSS_PROTOTYPES (files
)
35 DECLARE_NSS_PROTOTYPES (nis
)
36 DECLARE_NSS_PROTOTYPES (nisplus
)
37 #undef DECLARE_NSS_PROTOTYPES
39 # endif /* !_ISOMAC */