aboutsummaryrefslogtreecommitdiffstats
path: root/mx.h
diff options
context:
space:
mode:
Diffstat (limited to 'mx.h')
-rw-r--r--mx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mx.h b/mx.h
new file mode 100644
index 00000000..5e2824c0
--- /dev/null
+++ b/mx.h
@@ -0,0 +1,13 @@
+/* mx.h -- name-to-preference association for MX records */
+
+struct mxentry
+{
+ char *name;
+ int pref;
+};
+
+#ifdef HAVE_PROTOTYPES
+extern int getmxrecords(char *, int, struct mxentry *);
+#endif /* HAVE_PROTOTYPES */
+
+/* mx.h ends here */