Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2dca5f95
Commit
2dca5f95
authored
Apr 19, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Add a couple of macros and prototypes.
parent
1e867528
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
2 deletions
+40
-2
windns.h
include/windns.h
+40
-2
No files found.
include/windns.h
View file @
2dca5f95
...
@@ -572,8 +572,40 @@ typedef struct _DnsRecordW
...
@@ -572,8 +572,40 @@ typedef struct _DnsRecordW
}
Data
;
}
Data
;
}
DNS_RECORDW
,
*
PDNS_RECORDW
;
}
DNS_RECORDW
,
*
PDNS_RECORDW
;
DECL_WINELIB_TYPE_AW
(
DNS_RECORD
)
#if defined(__WINESRC__) || defined(UNICODE)
DECL_WINELIB_TYPE_AW
(
PDNS_RECORD
)
typedef
DNS_RECORDW
DNS_RECORD
;
typedef
PDNS_RECORDW
PDNS_RECORD
;
#else
typedef
DNS_RECORDA
DNS_RECORD
;
typedef
PDNS_RECORDA
PDNS_RECORD
;
#endif
typedef
struct
_DnsRRSet
{
PDNS_RECORD
pFirstRR
;
PDNS_RECORD
pLastRR
;
}
DNS_RRSET
,
*
PDNS_RRSET
;
#define DNS_RRSET_INIT( rrset ) \
{ \
PDNS_RRSET _prrset = &(rrset); \
_prrset->pFirstRR = NULL; \
_prrset->pLastRR = (PDNS_RECORD) &_prrset->pFirstRR; \
}
#define DNS_RRSET_ADD( rrset, pnewRR ) \
{ \
PDNS_RRSET _prrset = &(rrset); \
PDNS_RECORD _prrnew = (pnewRR); \
_prrset->pLastRR->pNext = _prrnew; \
_prrset->pLastRR = _prrnew; \
}
#define DNS_RRSET_TERMINATE( rrset ) \
{ \
PDNS_RRSET _prrset = &(rrset); \
_prrset->pLastRR->pNext = NULL; \
}
DNS_STATUS
WINAPI
DnsAcquireContextHandle_A
(
DWORD
,
PVOID
,
HANDLE
*
);
DNS_STATUS
WINAPI
DnsAcquireContextHandle_A
(
DWORD
,
PVOID
,
HANDLE
*
);
DNS_STATUS
WINAPI
DnsAcquireContextHandle_W
(
DWORD
,
PVOID
,
HANDLE
*
);
DNS_STATUS
WINAPI
DnsAcquireContextHandle_W
(
DWORD
,
PVOID
,
HANDLE
*
);
...
@@ -588,6 +620,12 @@ DNS_STATUS WINAPI DnsQuery_A(PCSTR,WORD,DWORD,PIP4_ARRAY,PDNS_RECORDA*,PVOID*);
...
@@ -588,6 +620,12 @@ DNS_STATUS WINAPI DnsQuery_A(PCSTR,WORD,DWORD,PIP4_ARRAY,PDNS_RECORDA*,PVOID*);
DNS_STATUS
WINAPI
DnsQuery_W
(
PCWSTR
,
WORD
,
DWORD
,
PIP4_ARRAY
,
PDNS_RECORDW
*
,
PVOID
*
);
DNS_STATUS
WINAPI
DnsQuery_W
(
PCWSTR
,
WORD
,
DWORD
,
PIP4_ARRAY
,
PDNS_RECORDW
*
,
PVOID
*
);
DNS_STATUS
WINAPI
DnsQuery_UTF8
(
PCSTR
,
WORD
,
DWORD
,
PIP4_ARRAY
,
PDNS_RECORDA
*
,
PVOID
*
);
DNS_STATUS
WINAPI
DnsQuery_UTF8
(
PCSTR
,
WORD
,
DWORD
,
PIP4_ARRAY
,
PDNS_RECORDA
*
,
PVOID
*
);
DNS_STATUS
WINAPI
DnsQueryConfig
(
DNS_CONFIG_TYPE
,
DWORD
,
PWSTR
,
PVOID
,
PVOID
,
PDWORD
);
DNS_STATUS
WINAPI
DnsQueryConfig
(
DNS_CONFIG_TYPE
,
DWORD
,
PWSTR
,
PVOID
,
PVOID
,
PDWORD
);
BOOL
WINAPI
DnsRecordCompare
(
PDNS_RECORD
,
PDNS_RECORD
);
PDNS_RECORD
WINAPI
DnsRecordCopyEx
(
PDNS_RECORD
,
DNS_CHARSET
,
DNS_CHARSET
);
void
WINAPI
DnsRecordListFree
(
PDNS_RECORD
,
DNS_FREE_TYPE
);
BOOL
WINAPI
DnsRecordSetCompare
(
PDNS_RECORD
,
PDNS_RECORD
,
PDNS_RECORD
*
,
PDNS_RECORD
*
);
PDNS_RECORD
WINAPI
DnsRecordSetCopyEx
(
PDNS_RECORD
,
DNS_CHARSET
,
DNS_CHARSET
);
PDNS_RECORD
WINAPI
DnsRecordSetDetach
(
PDNS_RECORD
);
void
WINAPI
DnsReleaseContextHandle
(
HANDLE
);
void
WINAPI
DnsReleaseContextHandle
(
HANDLE
);
DNS_STATUS
WINAPI
DnsReplaceRecordSetA
(
PDNS_RECORDA
,
DWORD
,
HANDLE
,
PIP4_ARRAY
,
PVOID
);
DNS_STATUS
WINAPI
DnsReplaceRecordSetA
(
PDNS_RECORDA
,
DWORD
,
HANDLE
,
PIP4_ARRAY
,
PVOID
);
DNS_STATUS
WINAPI
DnsReplaceRecordSetW
(
PDNS_RECORDW
,
DWORD
,
HANDLE
,
PIP4_ARRAY
,
PVOID
);
DNS_STATUS
WINAPI
DnsReplaceRecordSetW
(
PDNS_RECORDW
,
DWORD
,
HANDLE
,
PIP4_ARRAY
,
PVOID
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment