Added modules Zone database & Zone data structure.
Zone database - Now dummy module, no functions implemented yet. Later will group all zone data structures, and provide high- level API for the other server modules. Zone data structure - Only wrapper around hash table functions. Should provide transparent API for Zone database, disregarding the underlying data structure. Zone node - data structure to hold all information associated with a domain name. Consider renaming this structure later. Used in Zone data structure and through its zds_node structure in the rest of the server modules. The use of zds_node structure needs revision, maybe useless. New (now dummy) types for domain name (dnss_dname) and wire format of the domain name (dnss_dname_wire). Both typedef'ed to char *. Convenience methods to get string from dname and to get length of a dname. Will be changed later, when the types change. Minor changes (comment style changed).
Showing
- CuteDNS.files 6 additions, 0 deletionsCuteDNS.files
- src/cuckoo-hash-table.c 14 additions, 17 deletionssrc/cuckoo-hash-table.c
- src/cuckoo-hash-table.h 6 additions, 6 deletionssrc/cuckoo-hash-table.h
- src/cuckoo-test.c 5 additions, 5 deletionssrc/cuckoo-test.c
- src/dispatcher.c 2 additions, 1 deletionsrc/dispatcher.c
- src/dns-simple.c 23 additions, 8 deletionssrc/dns-simple.c
- src/dns-simple.h 20 additions, 6 deletionssrc/dns-simple.h
- src/universal-system.c 1 addition, 1 deletionsrc/universal-system.c
- src/zone-data-structure.c 64 additions, 0 deletionssrc/zone-data-structure.c
- src/zone-data-structure.h 39 additions, 0 deletionssrc/zone-data-structure.h
- src/zone-database.c 3 additions, 0 deletionssrc/zone-database.c
- src/zone-database.h 40 additions, 0 deletionssrc/zone-database.h
- src/zone-node.c 27 additions, 0 deletionssrc/zone-node.c
- src/zone-node.h 20 additions, 0 deletionssrc/zone-node.h
Loading
Please register or sign in to comment