Skip to content
Snippets Groups Projects
  1. Mar 05, 2010
    • Lubos Slovak's avatar
      Bugfix in file parsing. · cefa1458
      Lubos Slovak authored
      cefa1458
    • Lubos Slovak's avatar
      256390eb
    • Lubos Slovak's avatar
      Memory leaks and problems fixed. API modifications · 5f8abd67
      Lubos Slovak authored
      All items are now properly created, copied and destroyed.
        (too much copying - should avoid in later development)
      
      Modified API of dns-simple 'library':
        Added destructors which take ** to the object
          and are setting the pointer to NULL.
        dnss_dname_to_wire() now takes the position and allocated size as parameters.
        dnss_create_response(), dnss_create_error_response() and dnss_wire_format()
          now all return errors as appropriate.
      
      Fixed copying issues in dns-simple 'library':
        Questions and RRs are now copied entirely, not just pointers.
          (See functions dnss_copy_questions() and dnss_copy_rrs().)
        Added some checks for NULL-pointers when deallocating.
      
      Added pointer to hash table item destructor function to the hash table.
      
      ck_destroy_table() rewritten to destroy individual items in the table and buffer.
      
      A lot of checks added (mostly for result of malloc).
      
      Redundant and old code removed.
      5f8abd67
  2. Mar 03, 2010
  3. Mar 02, 2010
  4. Mar 01, 2010
    • Lubos Slovak's avatar
      Test now inserts RR into the hash table. · 86a470cd
      Lubos Slovak authored
      Creating default A RRs with dummy address (loopback), this has no implications
        on performance testing.
      Fixed some bugs in dns-simple.
      Added header common.h to contain common typedefs, constants and macros.
      More consistent debug messages (better #ifdefs)
      86a470cd
    • Lubos Slovak's avatar
      Completed DNS functions & fixes to comply with C99 · 9540d1d8
      Lubos Slovak authored
      Removed read_domain_names() and test_lookup() functions.
      Added dnss_wire_format(), dnss_dname_to_wire() and dnss_parse_query().
      Many functions in universal-system.h and bitset.h not inline any more
        (should check it later and find a way to make them inline).
      9540d1d8
  5. Feb 28, 2010
    • Lubos Slovak's avatar
      First commit - server with cuckoo hash prototype · 2da03d5d
      Lubos Slovak authored
      Classic (2-ary) cuckoo hash table with char* keys.
        (Insert, find, delete implemented.)
      Simple bitset (not used right now).
      Several hash functions downloaded from web.
      Universal system of hash functions (according to J. Katajainen & M. Lykke
        of University of Copenhagen).
      Several basic data structures for DNS data - not finished yet.
      2da03d5d
Loading