aboutsummaryrefslogtreecommitdiffstats
path: root/mx.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-25 18:08:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-25 18:08:43 +0000
commit4fbbabc2705e0c7320516b673f855494d48ec81d (patch)
tree495ca03682e822bc61bc11a028d1a3c263da00c3 /mx.h
parentb0bb563ec965e7b863e86585ae2d148f9915ee60 (diff)
downloadfetchmail-4fbbabc2705e0c7320516b673f855494d48ec81d.tar.gz
fetchmail-4fbbabc2705e0c7320516b673f855494d48ec81d.tar.bz2
fetchmail-4fbbabc2705e0c7320516b673f855494d48ec81d.zip
Initial revision
svn path=/trunk/; revision=379
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 */