1. 30 Nov, 2010 2 commits
  2. 29 Nov, 2010 1 commit
  3. 26 Nov, 2010 1 commit
  4. 18 Nov, 2010 1 commit
  5. 16 Nov, 2010 1 commit
    • Lubos Slovak's avatar
      Function for comparing domain names. · f8671f37
      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
      f8671f37
  6. 10 Nov, 2010 1 commit
    • Lubos Slovak's avatar
      Minor changes to rdata and dname API+file comments · b44baa89
      Lubos Slovak authored
      Destructor functions now take ** to set the given pointer to NULL.
      RDATA structure now contains pointer to next RDATA, so they may
        create a linked list. (Will be used in RRSet).
      
      Added file comments and \addtogroup statements.
      
      Modified tests accordingly.
      
      refs #88
      b44baa89
  7. 09 Nov, 2010 3 commits
    • Lubos Slovak's avatar
      Fixed dname API, added 3 functions, fixed impl. · cfe80a2c
      Lubos Slovak authored
      dname and node were referencing each other. Used
        forward-declaration of node in dname.
      Added API getter functions (with implementation):
        - dnslib_dname_name()
        - dnslib_dname_size()
        - dnslib_dname_node()
      Fixed dname implementation:
        - str_to_wire() was replacing chars by label lengths
        - new_from_str() bad assert
        - new_from_wire() was not allocating space for the name
        - to_str() was de facto copying the wire format
      
      Added some debug output to dname
      
      refs #5, #88
      cfe80a2c
    • Lubos Slovak's avatar
      Comments to dname API + minor fix. · ac43d7b9
      Lubos Slovak authored
      Fixed creating dname struct from wire format (was not copying).
      refs #5, #88
      ac43d7b9
    • Lubos Slovak's avatar
      First dname functions' API and its implementation. · 930dd52e
      Lubos Slovak authored
      - creating dname (empty, from string, from wire format)
      - deleting dname
      - converting dname to string
      
      Minor change in node - added linked list pointer to next node.
      
      refs #5, #88
      930dd52e
  8. 04 Nov, 2010 1 commit