define ROKEN_LIB_FUNCTION on all exported functions

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-12 11:29:18 +00:00
parent 9d25af4667
commit 709aa58c74
135 changed files with 632 additions and 443 deletions

View File

@@ -36,6 +36,14 @@
#ifndef __RESOLVE_H__
#define __RESOLVE_H__
#ifndef ROKEN_LIB_FUNCTION
#ifdef _WIN32
#define ROKEN_LIB_FUNCTION _stdcall
#else
#define ROKEN_LIB_FUNCTION
#endif
#endif
typedef enum {
rk_ns_t_invalid = 0, /* Cookie. */
rk_ns_t_a = 1, /* Host address. */
@@ -276,10 +284,15 @@ struct dns_reply{
};
struct dns_reply* dns_lookup(const char *, const char *);
void dns_free_data(struct dns_reply *);
int dns_string_to_type(const char *name);
const char *dns_type_to_string(int type);
void dns_srv_order(struct dns_reply*);
struct dns_reply* ROKEN_LIB_FUNCTION
dns_lookup(const char *, const char *);
void ROKEN_LIB_FUNCTION
dns_free_data(struct dns_reply *);
int ROKEN_LIB_FUNCTION
dns_string_to_type(const char *name);
const char *ROKEN_LIB_FUNCTION
dns_type_to_string(int type);
void ROKEN_LIB_FUNCTION
dns_srv_order(struct dns_reply*);
#endif /* __RESOLVE_H__ */