]> Pileus Git - ~andy/fetchmail/blobdiff - mx.h
Initial revision
[~andy/fetchmail] / mx.h
diff --git a/mx.h b/mx.h
new file mode 100644 (file)
index 0000000..5e2824c
--- /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 */