- Nov 29, 2010
-
-
Lubos Slovak authored
- mostly doxygen comments - some alignment closes #159
-
Jan Kadlec authored
-
- Nov 26, 2010
-
-
Jan Kadlec authored
Refs #159
-
- Nov 25, 2010
-
-
Jan Kadlec authored
Refs #159
-
- Nov 24, 2010
-
-
Jan Kadlec authored
-
Jan Kadlec authored
as null pointers, contained actual key (type of RRset, that is), which did not comply with definitions, and therefore was producing warnings. Changed node test, so that they reflect this fact. Skip list's function return_list() and list_length() now obsolete. Refs #121
-
- Nov 23, 2010
-
-
Lubos Slovak authored
fixes #140
-
Jan Kadlec authored
-
- Nov 22, 2010
-
-
Lubos Slovak authored
-
Lubos Slovak authored
Was not initializing the position pointers.
-
Jan Kadlec authored
Changes to both rrset and node APIs as well as test for those APIs. Node API and tests should be complete. Refs #108, #109, #110, #116
-
Lubos Slovak authored
Checking for bad input parameters in dnslib_rdata_set_items(). Comments adjusted. refs #119
-
Jan Kadlec authored
-
- Nov 18, 2010
-
-
Lubos Slovak authored
- wire_size() was not counting the stored length octet in case of TEXT or BINARY. - typo in to_wire() refs #119
-
Lubos Slovak authored
refs #119
-
Lubos Slovak authored
refs #119
-
Lubos Slovak authored
-
Lubos Slovak authored
Fixed enum dnslib_rr_type - must explicitly set numbers for types which do not follow the previous ones in numbering. Fixed naming of mxrdtln enum items to contain prefix DNSLIB_.
-
Lubos Slovak authored
The previous approach made converting RDATA to wire format too complex. Now RDATA items distinguish only between domain name and other data. The format is given by a descriptor. TODO: Consider saving the length of the data to the byte array always, so getting it would not require that huge switch. refs #119
-
Jan Kadlec authored
-
- Nov 16, 2010
-
-
Lubos Slovak authored
refs #119
-
Lubos Slovak authored
-
Lubos Slovak authored
Added dnslib_dname_compare(). Added constant for max domain name labels. TODO: consider saving label offsets in the domain name structure, may make the comparation quicker. refs #118
-
Lubos Slovak authored
Was comparing RDATA domain names as domain names, should compare as binary data.
-
Lubos Slovak authored
Added functions: - dnslib_rdata_wire_size() - dnslib_rdata_to_wire() The converting seems to be quite inefficient, should consider improving performance for the cost of more memory used (not to distinguish so many RDATA item types).
-
Lubos Slovak authored
Fixed missing comma. MAXRDATALEN -> MAX_RDATA_ITEMS + added two other constants: - MAX_RDATA_ITEM_SIZE - MAX_RDATA_WIRE_SIZE
-
Lubos Slovak authored
RDATA items changed to be more space efficient. Distinguishes several content types and stores the rest as binary array with its length stored in th first byte. Changed RDATA constructor to not allocate space for items. Functions for comparing RDATAs: dnslib_rdata_compare() - just a first draft though. dnslib_rdata_compare_binary() - compares two binary RDATA items (needs testing) refs #119
-
Jan Kadlec authored
-
- Nov 15, 2010
-
-
Jan Kadlec authored
-
Jan Kadlec authored
-
- Nov 14, 2010
-
-
Jan Kadlec authored
-
- Nov 12, 2010
-
-
Jan Kadlec authored
Initial implementation of RR type descriptors. It's more or less a simplified copy from NSD, will need changes and maybe more API functions.
-
Jan Kadlec authored
-
Jan Kadlec authored
-
- Nov 11, 2010
-
-
Jan Kadlec authored
-
Lubos Slovak authored
-
Lubos Slovak authored
Were not checking for NULL pointers. refs #88
-
Jan Kadlec authored
-
Lubos Slovak authored
Just basic functions declared: - creating node - destroying node - adding RRSet - getting RRSet - getting parent of a node refs #88
-
Jan Kadlec authored
-