diff options
author | Richard Sharpe <sharpe@samba.org> | 2002-05-14 20:19:11 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2002-05-14 20:19:11 +0000 |
commit | 17367da42df0af3d6bf57dc6a429c0e8bf974ce8 (patch) | |
tree | 55f0dd2eeb0d6e0c3585c8c48307824752252fed /source3 | |
parent | 099b4889a2383b27d4d0ca4c0eb2175a0e87b67d (diff) | |
download | samba-17367da42df0af3d6bf57dc6a429c0e8bf974ce8.tar.gz samba-17367da42df0af3d6bf57dc6a429c0e8bf974ce8.tar.bz2 samba-17367da42df0af3d6bf57dc6a429c0e8bf974ce8.zip |
First part of adding flags returns from name_query ...
Do it bit-by-bit to ensure that no breakage creeps in.
(This used to be commit bccbf3569801e8f16aed897c9d04c3f7e1430641)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/nameserv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 53a5a3b5d8..fefa243c3f 100644 --- a/source3/include/nameserv.h +++ b/source3/include/nameserv.h @@ -458,6 +458,14 @@ struct res_rec { char rdata[MAX_DGRAM_SIZE]; }; +/* Define these so we can pass info back to caller of name_query */ +#define NM_FLAGS_RS 0x80 /* Response. Cheat */ +#define NM_FLAGS_AA 0x40 /* Authoritative */ +#define NM_FLAGS_TC 0x20 /* Truncated */ +#define NM_FLAGS_RD 0x10 /* Recursion Desired */ +#define NM_FLAGS_RA 0x08 /* Recursion Available */ +#define NM_FLAGS_B 0x01 /* Broadcast */ + /* An nmb packet. */ struct nmb_packet { |