mx_15.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1998-2001, 2003-2005, 2007, 2009, 2012, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: mx_15.c,v 1.58 2009/12/04 22:06:37 tbox Exp $ */
/* reviewed: Wed Mar 15 18:05:46 PST 2000 by brister */
#ifndef RDATA_GENERIC_MX_15_C
#define RDATA_GENERIC_MX_15_C
#include <string.h>
#define RRTYPE_MX_ATTRIBUTES (0)
static isc_boolean_t
char tmp[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123.")];
return (ISC_TRUE);
return (ISC_FALSE);
return (ISC_TRUE);
}
static inline isc_result_t
ISC_FALSE));
ISC_FALSE));
if ((options & DNS_RDATA_CHECKMX) != 0)
if ((options & DNS_RDATA_CHECKNAMES) != 0)
return (ISC_R_SUCCESS);
}
static inline isc_result_t
char buf[sizeof("64000")];
unsigned short num;
}
static inline isc_result_t
return (ISC_R_UNEXPECTEDEND);
}
static inline isc_result_t
}
static inline int
int order;
if (order != 0)
}
static inline isc_result_t
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline isc_boolean_t
}
static inline isc_boolean_t
return (ISC_FALSE);
}
return (ISC_TRUE);
}
static inline int
}
#endif /* RDATA_GENERIC_MX_15_C */