mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 08:02:06 -04:00
checkpoint
This commit is contained in:
parent
111bf2b31d
commit
a4e7a96dd4
1 changed files with 3 additions and 7 deletions
|
|
@ -1,15 +1,11 @@
|
|||
#ifndef DNS_TCPMSG_H
|
||||
#define DNS_TCPMSG_H
|
||||
|
||||
#define DNS_TCPMSG_MAGIC 0x5443506d /* TCPm */
|
||||
|
||||
#define DNS_TCPMSG_VALID(foo) \
|
||||
((foo) != NULL \
|
||||
&& ((foo)->magic == DNS_TCPMSG_MAGIC))
|
||||
#include <isc/buffer.h>
|
||||
|
||||
typedef struct {
|
||||
unsigned int magic;
|
||||
unsigned int size;
|
||||
u_int16_t size;
|
||||
isc_buffer_t buffer;
|
||||
unsigned int maxsize;
|
||||
isc_mem_t *mctx;
|
||||
|
|
@ -66,7 +62,7 @@ dns_tcpmsg_readmessage(dns_tcpmsg_t *tcpmsg,
|
|||
*
|
||||
* Returns:
|
||||
*
|
||||
* DNS_R_SUCCESS -- no error
|
||||
* ISC_R_SUCCESS -- no error
|
||||
* Anything that the isc_socket_recv() call can return. XXXMLG
|
||||
*
|
||||
* Notes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue