summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-07-13 00:30:51 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-08-26 09:29:53 +0200
commit95ff96497d513e89675eabef2f052cabb96e4080 (patch)
tree78dacdb2c6b4090aa4daaae882e129f186c7ebfe /include/resolv.h
parent05ff11da8f47e95e16c2d6db93fd6273dc35445e (diff)
inet/resolv: add dn_skipname and ns_name_skip
One uses the other, so add them in one go. Signed-off-by: Daniel Mack <zonque@gmail.com>
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 0afb37507..655636596 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -336,8 +336,8 @@ __END_DECLS
#endif
#define dn_comp __dn_comp
#define dn_expand __dn_expand
-#if 0
#define dn_skipname __dn_skipname
+#if 0
#define fp_resstat __fp_resstat
#define loc_aton __loc_aton
#define loc_ntoa __loc_ntoa
@@ -388,7 +388,6 @@ int b64_ntop (u_char const *, size_t, char *, size_t) __THROW;
int b64_pton (char const *, u_char *, size_t) __THROW;
int loc_aton (const char *ascii, u_char *binary) __THROW;
const char * loc_ntoa (const u_char *binary, char *ascii) __THROW;
-int dn_skipname (const u_char *, const u_char *) __THROW;
void putlong (u_int32_t, u_char *) __THROW;
void putshort (u_int16_t, u_char *) __THROW;
const char * p_class (int) __THROW;
@@ -405,6 +404,7 @@ const char * p_option (u_long option) __THROW;
char * p_secstodate (u_long) __THROW;
int dn_count_labels (const char *) __THROW;
#endif
+int dn_skipname (const u_char *, const u_char *) __THROW;
int dn_comp (const char *, u_char *, int, u_char **, u_char **)
__THROW;
int dn_expand (const u_char *, const u_char *, const u_char *,