Add prototypes for internal __getalias* functions.
authordrepper <drepper>
Sun, 26 Nov 2000 09:40:04 +0000 (09:40 +0000)
committerdrepper <drepper>
Sun, 26 Nov 2000 09:40:04 +0000 (09:40 +0000)
include/aliases.h

index cfe459d..3932e52 100644 (file)
@@ -1 +1,20 @@
+#ifndef _ALIASES_H
 #include <inet/aliases.h>
+
+extern int __getaliasent_r (struct aliasent *__restrict __result_buf,
+                           char *__restrict __buffer, size_t __buflen,
+                           struct aliasent **__restrict __result);
+extern int __old_getaliasent_r (struct aliasent *__restrict __result_buf,
+                               char *__restrict __buffer, size_t __buflen,
+                               struct aliasent **__restrict __result);
+
+extern int __getaliasbyname_r (__const char *__restrict __name,
+                              struct aliasent *__restrict __result_buf,
+                              char *__restrict __buffer, size_t __buflen,
+                              struct aliasent **__restrict __result);
+extern int __old_getaliasbyname_r (__const char *__restrict __name,
+                                  struct aliasent *__restrict __result_buf,
+                                  char *__restrict __buffer, size_t __buflen,
+                                  struct aliasent **__restrict __result);
+
+#endif