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 | bccbf3569801e8f16aed897c9d04c3f7e1430641 (patch) | |
tree | aa61de16199332152e20449007baab30986c5cef | |
parent | 3180d8ba4ace9417033039d61d04c255da6f6a01 (diff) | |
download | samba-bccbf3569801e8f16aed897c9d04c3f7e1430641.tar.gz samba-bccbf3569801e8f16aed897c9d04c3f7e1430641.tar.xz samba-bccbf3569801e8f16aed897c9d04c3f7e1430641.zip |
First part of adding flags returns from name_query ...
Do it bit-by-bit to ensure that no breakage creeps in.
-rw-r--r-- | source/include/nameserv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h index 53a5a3b5d8a..fefa243c3fd 100644 --- a/source/include/nameserv.h +++ b/source/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 { |