summaryrefslogtreecommitdiff
path: root/databases/nss-pgsql/files/netbsd.h
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2013-03-17 14:12:02 +0000
committerasau <asau@pkgsrc.org>2013-03-17 14:12:02 +0000
commit0522618d54108ba4c88c1201ce52acd5c92c5087 (patch)
tree7b6c852c97c0431dcf16dc34df9d4ba356f4960c /databases/nss-pgsql/files/netbsd.h
parentad8ebee03d8707cf5698948e0cc7c62df71f3a29 (diff)
downloadpkgsrc-0522618d54108ba4c88c1201ce52acd5c92c5087.tar.gz
Import libnss-pgsql version 1.5.0-beta as databases/nss-pgsql
Packaged by Matthew Bauer <matthew.justin.bauer@gmail.com> during Google Code-In. Name Service Switch module for PostgreSQL.
Diffstat (limited to 'databases/nss-pgsql/files/netbsd.h')
-rw-r--r--databases/nss-pgsql/files/netbsd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/nss-pgsql/files/netbsd.h b/databases/nss-pgsql/files/netbsd.h
new file mode 100644
index 00000000000..b6a81beeaeb
--- /dev/null
+++ b/databases/nss-pgsql/files/netbsd.h
@@ -0,0 +1,14 @@
+// $NetBSD: netbsd.h,v 1.1.1.1 2013/03/17 14:12:02 asau Exp $
+
+// add necessary functions that is not provided by NetBSD's NSS
+
+#ifndef _NSS_PGSQL_NETBSD_H
+#define _NSS_PGSQL_NETBSD_H
+enum nss_status {
+ NSS_STATUS_SUCCESS,
+ NSS_STATUS_NOTFOUND,
+ NSS_STATUS_UNAVAIL,
+ NSS_STATUS_TRYAGAIN,
+ NSS_STATUS_RETURN
+};
+#endif /* _NSS_PGSQL_NETBSD_H */