Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/mappings.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ struct int_string_map

extern struct int_string_map const c_dns_rcode_enum[];

extern char const *dns_rcode_enum (dns_rcode_t) __attribute__ ((pure,nothrow));
extern char const *dns_rcode_text (dns_rcode_t) __attribute__ ((pure,nothrow));
extern char const *dns_type_text (dns_type_t) __attribute__ ((pure,nothrow));
extern char const *dns_class_text (dns_class_t) __attribute__ ((pure,nothrow));
extern char const *dns_op_text (dns_op_t) __attribute__ ((pure,nothrow));
WIN_DLL_EXPORT extern char const *dns_rcode_enum (dns_rcode_t) __attribute__ ((pure,nothrow));
WIN_DLL_EXPORT extern char const *dns_rcode_text (dns_rcode_t) __attribute__ ((pure,nothrow));
WIN_DLL_EXPORT extern char const *dns_type_text (dns_type_t) __attribute__ ((pure,nothrow));
WIN_DLL_EXPORT extern char const *dns_class_text (dns_class_t) __attribute__ ((pure,nothrow));
WIN_DLL_EXPORT extern char const *dns_op_text (dns_op_t) __attribute__ ((pure,nothrow));

extern dns_rcode_t dns_rcode_value (char const *) __attribute__ ((pure,nothrow,nonnull));
WIN_DLL_EXPORT extern dns_rcode_t dns_rcode_value (char const *) __attribute__ ((pure,nothrow,nonnull));
WIN_DLL_EXPORT extern dns_type_t dns_type_value (char const *) __attribute__ ((pure,nothrow,nonnull));
extern dns_class_t dns_class_value (char const *) __attribute__ ((pure,nothrow,nonnull));
extern dns_op_t dns_op_value (char const *) __attribute__ ((pure,nothrow,nonnull));
WIN_DLL_EXPORT extern dns_class_t dns_class_value (char const *) __attribute__ ((pure,nothrow,nonnull));
WIN_DLL_EXPORT extern dns_op_t dns_op_value (char const *) __attribute__ ((pure,nothrow,nonnull));

#ifdef __cplusplus
}
Expand Down
10 changes: 5 additions & 5 deletions src/output.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
#include <stdio.h>
#include "dns.h"

extern void dns_print_result (dns_query_t *);
extern void dns_print_header (dns_query_t *);
extern void dns_print_question (char const *,dns_question_t *,size_t);
extern void dns_print_answer (char const *,dns_answer_t *,size_t);
extern void dns_dump_memory (FILE *,void const *,size_t,size_t);
WIN_DLL_EXPORT extern void dns_print_result (dns_query_t *);
WIN_DLL_EXPORT extern void dns_print_header (dns_query_t *);
WIN_DLL_EXPORT extern void dns_print_question (char const *,dns_question_t *,size_t);
WIN_DLL_EXPORT extern void dns_print_answer (char const *,dns_answer_t *,size_t);
WIN_DLL_EXPORT extern void dns_dump_memory (FILE *,void const *,size_t,size_t);

#ifdef __cplusplus
}
Expand Down